summaryrefslogtreecommitdiffstats
path: root/examples/echo-udp.rs
diff options
context:
space:
mode:
authorJulian Tescher <jatescher@gmail.com>2018-05-08 14:44:17 -0400
committerCarl Lerche <me@carllerche.com>2018-05-08 11:44:17 -0700
commit06b2c402227b4c0f64912e48966f2751dd872ccc (patch)
tree736fceef44b46484e93559bb5e7d0a06e623b3bc /examples/echo-udp.rs
parent68b82f5721cbfa2076f53fa24961ee9273395b39 (diff)
Fix typos (#348)
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)));
}