diff --git a/src/application.rs b/src/application.rs index b25ede793..6c64e2307 100644 --- a/src/application.rs +++ b/src/application.rs @@ -1,5 +1,3 @@ -#![allow(unused_imports, dead_code)] - use std::rc::Rc; use std::string::ToString; use std::collections::HashMap; diff --git a/src/middlewares/mod.rs b/src/middlewares/mod.rs index 742cef1ca..6a0ea3c9f 100644 --- a/src/middlewares/mod.rs +++ b/src/middlewares/mod.rs @@ -1,8 +1,5 @@ //! Middlewares -#![allow(unused_imports, dead_code)] - -use std::rc::Rc; -use futures::{Async, Future, Poll}; +use futures::Future; use error::Error; use httprequest::HttpRequest;