fix: device import & rustfmt
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
This commit is contained in:
parent
dbb9189b7f
commit
43fda7bab1
3 changed files with 6 additions and 3 deletions
|
|
@ -6,7 +6,7 @@ mod three_wire;
|
|||
|
||||
use crate::register::{
|
||||
self,
|
||||
common::{RetryCount, RetryTime, MODE,VERSION, PhyConfig},
|
||||
common::{PhyConfig, RetryCount, RetryTime, MODE, VERSION},
|
||||
};
|
||||
|
||||
pub use self::four_wire::FourWire;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,10 @@ use crate::host::Host;
|
|||
use crate::net::Ipv4Addr;
|
||||
use crate::socket::Socket;
|
||||
use crate::uninitialized_device::UninitializedDevice;
|
||||
use crate::{register, MacAddress};
|
||||
use crate::{
|
||||
common::{RetryCount, RetryTime},
|
||||
register, MacAddress,
|
||||
};
|
||||
|
||||
pub enum ResetError<E> {
|
||||
SocketsNotReleased,
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ pub use self::{
|
|||
device::{Device, DeviceRefMut, InactiveDevice},
|
||||
host::{Dhcp, Host, HostConfig, Manual},
|
||||
net::MacAddress,
|
||||
uninitialized_device::{InitializeError, UninitializedDevice}
|
||||
uninitialized_device::{InitializeError, UninitializedDevice},
|
||||
};
|
||||
|
||||
use register::common;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue