Remove unused imports.
parent
7b194c5d36
commit
be0854127a
|
@ -104,7 +104,7 @@ impl Drop for EthernetTxBuffer {
|
|||
```
|
||||
*/
|
||||
|
||||
use {Error, Result};
|
||||
use Result;
|
||||
|
||||
#[cfg(any(feature = "raw_socket", feature = "tap_interface"))]
|
||||
mod sys;
|
||||
|
|
|
@ -3,7 +3,7 @@ use core::cell::RefCell;
|
|||
use std::io::Write;
|
||||
use byteorder::{ByteOrder, NativeEndian};
|
||||
|
||||
use {Error, Result};
|
||||
use Result;
|
||||
use super::{DeviceLimits, Device};
|
||||
|
||||
enum_with_unknown! {
|
||||
|
|
|
@ -3,7 +3,7 @@ use std::vec::Vec;
|
|||
use std::rc::Rc;
|
||||
use std::io;
|
||||
|
||||
use {Error, Result};
|
||||
use Result;
|
||||
use super::{sys, DeviceLimits, Device};
|
||||
|
||||
/// A socket that captures or transmits the complete frame.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use {Error, Result};
|
||||
use Result;
|
||||
use wire::pretty_print::{PrettyPrint, PrettyPrinter};
|
||||
use super::{DeviceLimits, Device};
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
//! The interface implemented by this module uses explicit buffering: you decide on the good
|
||||
//! size for a buffer, allocate it, and let the networking stack use it.
|
||||
|
||||
use {Error, Result};
|
||||
use Result;
|
||||
use phy::DeviceLimits;
|
||||
use wire::IpRepr;
|
||||
|
||||
|
|
Loading…
Reference in New Issue