mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-28 01:32:57 +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 std::time::Instant;
|
||||||
|
|
||||||
use actix::*;
|
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 codec;
|
||||||
mod server;
|
mod server;
|
||||||
|
@ -23,7 +23,6 @@ use de::PathDeserializer;
|
|||||||
/// # extern crate bytes;
|
/// # extern crate bytes;
|
||||||
/// # extern crate actix_web;
|
/// # extern crate actix_web;
|
||||||
/// # extern crate futures;
|
/// # extern crate futures;
|
||||||
/// #[macro_use] extern crate serde_derive;
|
|
||||||
/// use actix_web::{App, Path, Result, http};
|
/// use actix_web::{App, Path, Result, http};
|
||||||
///
|
///
|
||||||
/// /// extract path info from "/{username}/{count}/?index.html" url
|
/// /// extract path info from "/{username}/{count}/?index.html" url
|
||||||
|
Loading…
Reference in New Issue
Block a user