Repository: aisk/rust-memcache (language: rust)

Issue:
Clean up redundant import
The CI compains some redundant import: https://github.com/aisk/rust-memcache/pull/141/files


Discussion / hints:

Fix patch:
diff --git a/src/error.rs b/src/error.rs
index 041b9a3..cecee1c 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -1,4 +1,3 @@
-use r2d2;
 use std::borrow::Cow;
 use std::error;
 use std::fmt;
@@ -6,7 +5,6 @@ use std::io;
 use std::num;
 use std::str;
 use std::string;
-use url;
 
 /// Client-side errors
 #[derive(Debug, PartialEq)]
diff --git a/src/stream/udp_stream.rs b/src/stream/udp_stream.rs
index a0f2be1..cc17245 100644
--- a/src/stream/udp_stream.rs
+++ b/src/stream/udp_stream.rs
@@ -1,6 +1,5 @@
 use crate::error::MemcacheError;
 use byteorder::{BigEndian, ByteOrder, WriteBytesExt};
-use rand;
 use std::collections::HashMap;
 use std::io;
 use std::io::{Error, ErrorKind, Read, Write};


Test patch: