Fixing clippy warnings

This commit is contained in:
Tomusdrw
2016-02-15 00:51:50 +01:00
parent 5b6e47c56f
commit 2c4700f4c1
13 changed files with 78 additions and 58 deletions

View File

@@ -165,7 +165,7 @@ impl Configuration {
}
Some(ref a) => {
public_address = SocketAddr::from_str(a.as_ref()).expect("Invalid listen/public address given with --address");
listen_address = public_address.clone();
listen_address = public_address;
}
};