From e7229480ea669bbe62fe644e312ba06cdca45b1c Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Mon, 9 May 2016 11:51:51 -0700 Subject: [PATCH] fix(warnings): remove unused_code warnings from newest nightlies --- src/header/internals/item.rs | 2 -- src/server/response.rs | 1 - 2 files changed, 3 deletions(-) diff --git a/src/header/internals/item.rs b/src/header/internals/item.rs index e735e9e51d..5b1eff92a6 100644 --- a/src/header/internals/item.rs +++ b/src/header/internals/item.rs @@ -3,8 +3,6 @@ use std::any::TypeId; use std::fmt; use std::str::from_utf8; -use typeable::Typeable; - use super::cell::{OptCell, PtrMapCell}; use header::{Header, HeaderFormat}; diff --git a/src/server/response.rs b/src/server/response.rs index 05e160733c..e0155c049f 100644 --- a/src/server/response.rs +++ b/src/server/response.rs @@ -414,7 +414,6 @@ mod tests { #[test] fn test_no_content() { - use std::io::Write; use status::StatusCode; let mut headers = Headers::new(); let mut stream = MockStream::new();