#[deriving] -> #[derive]

This commit is contained in:
Jonathan Reem
2015-01-03 13:15:54 +01:00
parent 541e21dbd1
commit 7f3a33f903
32 changed files with 43 additions and 43 deletions

View File

@@ -7,7 +7,7 @@ use header::shared::time::tm_from_str;
// Egh, replace as soon as something better than time::Tm exists.
/// The `Date` header field.
#[deriving(Copy, PartialEq, Clone)]
#[derive(Copy, PartialEq, Clone)]
pub struct Date(pub Tm);
deref!(Date -> Tm);