summaryrefslogtreecommitdiffstats
path: root/src/client.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-09-04 12:19:05 -0400
committerJesse Luehrs <doy@tozt.net>2014-09-04 12:19:05 -0400
commit035df81f5716f08d48438287b93c4a57b927b81e (patch)
tree4014c1783bb2aa1ee94067ffe3968463f1ed297b /src/client.rs
parent803f228c91a25a193c356004f7f7e9923ce7ac5c (diff)
downloadrust-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.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()
},