From 8f170ce0c877fd0659e9c2dbad8a6e0eecb984d1 Mon Sep 17 00:00:00 2001 From: qupeng Date: Mon, 12 Dec 2016 14:02:52 +0800 Subject: epoll: improve EpollEvent::empty() by using mem::uninitialized. --- test/sys/test_epoll.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/sys/test_epoll.rs') diff --git a/test/sys/test_epoll.rs b/test/sys/test_epoll.rs index 965c7d06..f31d874f 100644 --- a/test/sys/test_epoll.rs +++ b/test/sys/test_epoll.rs @@ -1,4 +1,4 @@ -use nix::sys::epoll::{EpollCreateFlags, EpollFlags, EpollOp, EpollEvent}; +use nix::sys::epoll::{EpollCreateFlags, EpollOp, EpollEvent}; use nix::sys::epoll::{EPOLLIN, EPOLLERR}; use nix::sys::epoll::{epoll_create1, epoll_ctl}; use nix::{Error, Errno}; -- cgit v1.2.3