diff --git a/src/method.rs b/src/method.rs index af096f4a..8bd1b96e 100644 --- a/src/method.rs +++ b/src/method.rs @@ -13,7 +13,7 @@ use self::Method::{Options, Get, Post, Put, Delete, Head, Trace, Connect, Patch, /// /// It may make sense to grow this to include all variants currently /// registered with IANA, if they are at all common to use. -#[deriving(Clone, PartialEq)] +#[deriving(Clone, PartialEq, Eq, Hash)] pub enum Method { /// OPTIONS Options,