Skip to content

Commit 45ddcb1

Browse files
committed
Fix doc comment
1 parent c42a6bf commit 45ddcb1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

examples/tcpdump.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use smoltcp::phy::{Device, RxToken};
22
use smoltcp::time::Instant;
33
use smoltcp::wire::{EthernetFrame, PrettyPrinter};
4-
use smoltcp_device_unix::{wait as phy_wait, RawSocket};
4+
use smoltcp_device_unix::{RawSocket, wait as phy_wait};
55
use std::env;
66
use std::os::unix::io::AsRawFd;
77

smoltcp-device/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ An implementation of the [Device](trait.Device.html) trait for a simple hardware
1515
Ethernet controller could look as follows:
1616
1717
```rust
18-
use smoltcp_device::{DeviceCapabilities, Device, Medium};
19-
use smoltcp::time::Instant;
18+
use smoltcp_device::{DeviceCapabilities, Device, Medium, time::Instant};
2019
2120
struct StmPhy {
2221
rx_buffer: [u8; 1536],

0 commit comments

Comments
 (0)