fix clippy warning

This commit is contained in:
BennyYip
2017-05-21 18:01:06 +08:00
parent 2327f783bd
commit cee4786c01
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@@ -1,6 +1,6 @@
[root]
name = "shadowsocks-rust"
version = "1.3.2"
version = "1.3.3"
dependencies = [
"argon2rs 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)",
"base64 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",

View File

@@ -38,7 +38,7 @@ impl Socks5TestServer {
let local_addr = local_addr.to_socket_addrs().unwrap().next().unwrap();
Socks5TestServer {
local_addr: local_addr.clone(),
local_addr: local_addr,
config: {
let mut cfg = Config::new();
cfg.local = Some(local_addr);

View File

@@ -1,4 +1,4 @@
#![allow(dead_code, unused_imports)]
#![allow(dead_code, unused_imports,blacklisted_name)]
extern crate shadowsocks;
extern crate tokio_core;