Update for latest rust

Tracks rust nightly.

7 tests fail -- still finding source
This commit is contained in:
cyderize
2015-01-10 18:37:10 +11:00
parent 241ebc1270
commit 122e94c8a6
42 changed files with 291 additions and 189 deletions

View File

@@ -8,7 +8,7 @@ use header::shared::util::from_one_raw_str;
#[derive(Clone, PartialEq, Show)]
pub struct UserAgent(pub String);
deref!(UserAgent -> String);
deref!(UserAgent => String);
impl Header for UserAgent {
fn header_name(_: Option<UserAgent>) -> &'static str {