mirror of
https://github.com/actix/actix-web.git
synced 2024-11-15 21:31:24 +00:00
no need for export in doc example
This commit is contained in:
parent
af0c8d893d
commit
2c411a04a9
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue