Skip to content

Commit a4053c5

Browse files
committed
Eq is required for Hash key
1 parent b556c39 commit a4053c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/conduit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub enum Host<'a> {
1717
HostIp(IpAddr)
1818
}
1919

20-
#[deriving(PartialEq, Hash, Show, Clone)]
20+
#[deriving(PartialEq, Hash, Eq, Show, Clone)]
2121
pub enum Method<'a> {
2222
Get,
2323
Post,

0 commit comments

Comments
 (0)