Fix clippy warnings unused imports

This commit is contained in:
Brandon Fish 2018-12-09 01:02:26 -06:00
parent ce3b3b412a
commit 6354d3d14f
3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
use libc::{abort, c_char, pid_t, c_int, fork, exit};
use libc::{abort, c_char, pid_t, c_int, exit};
use crate::webassembly::Instance;
use std::ffi::CStr;

View File

@ -25,7 +25,7 @@ use libc::{
getsockname,
getsockopt,
gid_t,
iovec,
// iovec,
listen,
lseek,
mkdir,
@ -36,7 +36,7 @@ use libc::{
pread,
pwrite,
read,
readv,
// readv,
recvfrom,
recvmsg,
sendmsg,
@ -50,7 +50,7 @@ use libc::{
uname,
utsname,
write,
writev,
// writev,
select,
FIONBIO,
setpgid,
@ -58,7 +58,7 @@ use libc::{
sa_family_t,
in_port_t,
in_addr_t,
sockaddr_in,
// sockaddr_in,
FIOCLEX,
SOL_SOCKET,
TIOCGWINSZ,

View File

@ -2,7 +2,7 @@ use byteorder::{ByteOrder, LittleEndian};
use crate::webassembly::module::Module;
use crate::webassembly::Instance;
use libc::stat;
use std::ffi::{CStr, CString};
use std::ffi::CStr;
use std::os::raw::c_char;
use std::slice;
use std::mem::size_of;