refactor(hyper): Fix a few nits

This commit is contained in:
Pyfisch
2015-05-01 11:57:25 +02:00
parent 92ee51acdb
commit 6b59bd28b7
8 changed files with 18 additions and 34 deletions

View File

@@ -33,7 +33,6 @@ impl Header for Pragma {
parsing::from_one_raw_str(raw).and_then(|s: String| {
let slice = &s.to_ascii_lowercase()[..];
match slice {
"" => None,
"no-cache" => Some(Pragma::NoCache),
_ => Some(Pragma::Ext(s)),
}