Continue updating for latest rust

Fixed tests, however cannot link bench tests for some reason
This commit is contained in:
cyderize
2015-01-10 19:15:46 +11:00
parent 122e94c8a6
commit cc7fa15b04
6 changed files with 13 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
use header::{Header, HeaderFormat};
use std::fmt::{self, Show};
use std::fmt;
use std::str::from_utf8;
use cookie::Cookie;
@@ -54,7 +54,7 @@ impl HeaderFormat for SetCookie {
if i != 0 {
try!(f.write_str("\r\nSet-Cookie: "));
}
try!(cookie.fmt(f));
try!(write!(f, "{}", cookie));
}
Ok(())
}