rust upgrade

This commit is contained in:
Sean McArthur
2014-12-12 12:24:54 -08:00
parent 5e560cb1c1
commit 0bba6e80ee
12 changed files with 19 additions and 11 deletions

View File

@@ -6,7 +6,7 @@ use super::util::from_one_raw_str;
/// The `Content-Length` header.
///
/// Simply a wrapper around a `uint`.
#[deriving(Clone, PartialEq, Show)]
#[deriving(Copy, Clone, PartialEq, Show)]
pub struct ContentLength(pub uint);
deref!(ContentLength -> uint)