clippy: unneeded dereference

This commit is contained in:
Cyril Plisko
2017-12-04 17:43:51 -05:00
parent 3aa53a06fb
commit 4a7082b27c

View File

@@ -159,7 +159,7 @@ where
Resp: DeserializeOwned + Send + 'static,
E: DeserializeOwned + Send + 'static,
{
let inner = Proto::new(max_payload_size).bind_client(&handle, tcp);
let inner = Proto::new(max_payload_size).bind_client(handle, tcp);
Client { inner }
}