#[deriving] -> #[derive]
This commit is contained in:
@@ -5,7 +5,7 @@ use header::shared::util::from_one_raw_str;
|
||||
/// The `Server` header field.
|
||||
///
|
||||
/// They can contain any value, so it just wraps a `String`.
|
||||
#[deriving(Clone, PartialEq, Show)]
|
||||
#[derive(Clone, PartialEq, Show)]
|
||||
pub struct Server(pub String);
|
||||
|
||||
deref!(Server -> String);
|
||||
|
||||
Reference in New Issue
Block a user