summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzy <[email protected]>2023-08-21 06:32:45 +0000
committerzy <[email protected]>2023-08-21 06:32:45 +0000
commit086801a8d947fbcd9df43b13ecdd91986ba1b5da (patch)
treef034eb30e813edc025e4015355c9fd67db1fc449
parente99d79bc7d68012ee8b27ed9d0bf8422f71aeedd (diff)
修正 udp 路径
-rw-r--r--examples/udp_async.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/udp_async.rs b/examples/udp_async.rs
index 4c2ba21..606b6cd 100644
--- a/examples/udp_async.rs
+++ b/examples/udp_async.rs
@@ -2,7 +2,7 @@
//! Use `nc -u 127.0.0.1 30000` to connect.
use mini_rust_runtime::executor::Executor;
-use mini_rust_runtime::udp2::UdpSocket;
+use mini_rust_runtime::udp::UdpSocket;
use tokio::io::{AsyncReadExt, AsyncWriteExt};
fn main() {