mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-24 07:53:00 +01:00
no need for export in doc example
This commit is contained in:
parent
af0c8d893d
commit
2c411a04a9
@ -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 New Issue
Block a user