1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-07-03 20:45:46 +00:00

no need for export in doc example

This commit is contained in:
Nikolay Kim 2018-04-06 10:15:06 -07:00
parent af0c8d893d
commit 2c411a04a9
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,8 @@ extern crate actix_web;
use std::time::Instant;
use actix::*;
use actix_web::{http, fs, ws, server::HttpServer, App, HttpRequest, HttpResponse, Error};
use actix_web::server::HttpServer;
use actix_web::{http, fs, ws, App, HttpRequest, HttpResponse, Error};
mod codec;
mod server;

View file

@ -23,7 +23,6 @@ use de::PathDeserializer;
/// # extern crate bytes;
/// # extern crate actix_web;
/// # extern crate futures;
/// #[macro_use] extern crate serde_derive;
/// use actix_web::{App, Path, Result, http};
///
/// /// extract path info from "/{username}/{count}/?index.html" url