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,4 +1,4 @@
use std::fmt::{self, Show};
use std::fmt;
use header::{Header, HeaderFormat};
use header::shared::util::from_one_raw_str;
@@ -24,7 +24,7 @@ impl Header for ContentLength {
impl HeaderFormat for ContentLength {
fn fmt_header(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
let ContentLength(ref value) = *self;
value.fmt(fmt)
write!(fmt, "{}", value)
}
}