1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2025-03-28 05:45:27 +00:00

add Hash impl

This commit is contained in:
Nikolay Kim 2018-10-29 13:27:00 -07:00
parent e1418018c6
commit c15e4b92a8

View file

@ -40,7 +40,7 @@ impl From<ResolverError> for ConnectorError {
}
}
#[derive(Eq, PartialEq, Debug)]
#[derive(Eq, PartialEq, Debug, Hash)]
pub struct Connect {
pub host: String,
pub port: u16,