fix imports

This commit is contained in:
dignifiedquire 2020-04-26 21:26:07 +02:00
parent 958efe0a8c
commit cc562d97c5
1 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,7 @@
//! [wepoll]: https://github.com/piscisaureus/wepoll
use std::future::Future;
use std::io::{self, Read, Write};
use std::io::{self, IoSlice, IoSliceMut, Read, Write};
use std::net::{SocketAddr, TcpListener, TcpStream, ToSocketAddrs, UdpSocket};
#[cfg(windows)]
use std::os::windows::io::{AsRawSocket, IntoRawSocket, RawSocket};
@ -14,7 +14,6 @@ use std::sync::Arc;
use std::task::{Context, Poll};
#[cfg(unix)]
use std::{
io::{IoSlice, IoSliceMut},
os::unix::io::{AsRawFd, IntoRawFd, RawFd},
os::unix::net::{SocketAddr as UnixSocketAddr, UnixDatagram, UnixListener, UnixStream},
path::Path,