Fixing some clippy warnings

This commit is contained in:
Tomasz Drwięga
2016-11-28 13:20:49 +01:00
parent e1e7886918
commit 2b3d100de2
33 changed files with 72 additions and 81 deletions

View File

@@ -507,7 +507,6 @@ mod tests {
use std::io::{Read, Write, Error, Cursor, ErrorKind};
use mio::{Ready};
use std::collections::VecDeque;
use util::bytes::*;
use devtools::*;
use io::*;

View File

@@ -555,10 +555,6 @@ impl Discovery {
#[cfg(test)]
mod tests {
use super::*;
use util::hash::*;
use util::sha3::*;
use std::net::*;
use node_table::*;
use std::str::FromStr;
use rustc_serialize::hex::FromHex;
use ethkey::{Random, Generator};

View File

@@ -333,7 +333,6 @@ mod test {
use std::sync::Arc;
use rustc_serialize::hex::FromHex;
use super::*;
use util::hash::*;
use io::*;
use mio::tcp::TcpStream;
use stats::NetworkStats;

View File

@@ -358,8 +358,6 @@ pub fn is_valid_node_url(url: &str) -> bool {
mod tests {
use super::*;
use std::str::FromStr;
use std::net::*;
use util::hash::*;
use devtools::*;
use AllowIP;