diff --git a/examples/websocket-chat/src/main.rs b/examples/websocket-chat/src/main.rs index d9b495c98..ee5c1c45f 100644 --- a/examples/websocket-chat/src/main.rs +++ b/examples/websocket-chat/src/main.rs @@ -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; diff --git a/src/extractor.rs b/src/extractor.rs index 3ada8d5d5..f1ce6bdf9 100644 --- a/src/extractor.rs +++ b/src/extractor.rs @@ -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