Fix warnings

This commit is contained in:
Carl Lerche
2017-06-27 12:23:57 -07:00
parent 79aa11ad32
commit fee43a09c8
17 changed files with 61 additions and 59 deletions

View File

@@ -1,5 +1,5 @@
use super::DecoderError;
use util::byte_str::{ByteStr, FromUtf8Error};
use util::byte_str::ByteStr;
use http::{Method, StatusCode};
use http::header::{HeaderName, HeaderValue};
@@ -104,7 +104,7 @@ impl Header {
Header::Path(ref v) => {
32 + 5 + v.len()
}
Header::Status(ref v) => {
Header::Status(_) => {
32 + 7 + 3
}
}