summaryrefslogtreecommitdiff
path: root/test/sys
diff options
context:
space:
mode:
authorBryant Mairs <bryant@mai.rs>2017-08-26 10:28:22 -0700
committerBryant Mairs <bryant@mai.rs>2017-08-26 10:28:22 -0700
commitd4fd94498418f7337ec51fe9078b7529490b38fd (patch)
tree52f411c91a2bf3b5248b8551722bc7bc5f623ee8 /test/sys
parent53789456df265e685475f8eeeea956d8ec92ded9 (diff)
downloadnix-d4fd94498418f7337ec51fe9078b7529490b38fd.zip
Fix unused variable in tests
Diffstat (limited to 'test/sys')
-rw-r--r--test/sys/test_socket.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sys/test_socket.rs b/test/sys/test_socket.rs
index b8dc662e..5f9c6fff 100644
--- a/test/sys/test_socket.rs
+++ b/test/sys/test_socket.rs
@@ -1,5 +1,5 @@
use nix::sys::socket::{InetAddr, UnixAddr, getsockname};
-use std::{mem, slice};
+use std::slice;
use std::net::{self, Ipv6Addr, SocketAddr, SocketAddrV6};
use std::path::Path;
use std::str::FromStr;