summaryrefslogtreecommitdiffstats
path: root/src/client.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.rs')
-rw-r--r--src/client.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client.rs b/src/client.rs
index 94d29ea..544283b 100644
--- a/src/client.rs
+++ b/src/client.rs
@@ -83,9 +83,9 @@ impl ClientBuilder {
)
);
- let hostname = match &self.hostname {
- &Some(ref host) => host.clone(),
- &None => {
+ let hostname = match self.hostname {
+ Some(ref host) => host.clone(),
+ None => {
// XXX get the name of the local end of the connection
"localhost".to_string()
},