1
0
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:
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 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;

View File

@ -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