diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-09-04 12:19:05 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-09-04 12:19:05 -0400 |
commit | 035df81f5716f08d48438287b93c4a57b927b81e (patch) | |
tree | 4014c1783bb2aa1ee94067ffe3968463f1ed297b /src/client.rs | |
parent | 803f228c91a25a193c356004f7f7e9923ce7ac5c (diff) | |
download | rust-irc-035df81f5716f08d48438287b93c4a57b927b81e.tar.gz rust-irc-035df81f5716f08d48438287b93c4a57b927b81e.zip |
no reason for these extra & here
Diffstat (limited to 'src/client.rs')
-rw-r--r-- | src/client.rs | 6 |
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() }, |