From 940bc08abaa883fb4262afedb6450fb40c266b66 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Fri, 24 Nov 2017 22:19:06 -0800 Subject: [PATCH] remove unused imports --- src/application.rs | 2 -- src/middlewares/mod.rs | 5 +---- 2 files changed, 1 insertion(+), 6 deletions(-) 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;