Skip to content

Commit 281469d

Browse files
committed
refactor(net): merge imports
1 parent 205a626 commit 281469d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/executor/device.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@ use smoltcp::socket::dhcpv4;
1212
#[cfg(all(feature = "dns", not(feature = "dhcpv4")))]
1313
use smoltcp::socket::dns;
1414
use smoltcp::time::Instant;
15-
#[cfg(not(feature = "dhcpv4"))]
16-
use smoltcp::wire::IpCidr;
17-
#[cfg(not(feature = "dhcpv4"))]
18-
use smoltcp::wire::Ipv4Address;
1915
use smoltcp::wire::{EthernetAddress, HardwareAddress};
16+
#[cfg(not(feature = "dhcpv4"))]
17+
use smoltcp::wire::{IpCidr, Ipv4Address};
2018

2119
use super::network::{NetworkInterface, NetworkState};
2220
use crate::arch;

0 commit comments

Comments
 (0)