Skip to content

Commit a8acdba

Browse files
committed
docs(mioudp): move docs
1 parent 8e5d665 commit a8acdba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/mioudp/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
//! Adapted from <https://github.com/tokio-rs/mio/blob/c9831c78d14fd54c41bab79f5347764a56dc8326/examples/udp_server.rs>.
2+
13
use std::io;
24
use std::str::from_utf8;
35

46
#[cfg(target_os = "hermit")]
57
use hermit as _;
6-
// This example is derived from
7-
// https://github.com/tokio-rs/mio/blob/master/examples/tcp_server.rs
88
use log::warn;
99
use mio::{Events, Interest, Poll, Token};
1010

0 commit comments

Comments
 (0)