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;
@@ -58,7 +58,7 @@ impl HeaderFormat for Cookies {
for (i, cookie) in cookies.iter().enumerate() {
try!(write!(fmt, "{}", cookie.pair()));
if i < last {
try!("; ".fmt(fmt));
try!(fmt.write_str("; "));
}
}
Ok(())