From c15e4b92a86f55fc3d8121590d5e318d6801eebf Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Mon, 29 Oct 2018 13:27:00 -0700 Subject: [PATCH] add Hash impl --- src/connector.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connector.rs b/src/connector.rs index 96570854..00a88c5f 100644 --- a/src/connector.rs +++ b/src/connector.rs @@ -40,7 +40,7 @@ impl From for ConnectorError { } } -#[derive(Eq, PartialEq, Debug)] +#[derive(Eq, PartialEq, Debug, Hash)] pub struct Connect { pub host: String, pub port: u16,