summaryrefslogtreecommitdiffstats
path: root/examples/echo-udp.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/echo-udp.rs')
-rw-r--r--examples/echo-udp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/echo-udp.rs b/examples/echo-udp.rs
index e25f0936..9a1b9684 100644
--- a/examples/echo-udp.rs
+++ b/examples/echo-udp.rs
@@ -68,6 +68,6 @@ fn main() {
// `map_err` handles the error by logging it and maps the future to a type
// that can be spawned.
//
- // `tokio::run` spanws the task on the Tokio runtime and starts running.
+ // `tokio::run` spawns the task on the Tokio runtime and starts running.
tokio::run(server.map_err(|e| println!("server error = {:?}", e)));
}