aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStjepan Glavina <stjepang@gmail.com>2020-05-11 14:46:12 +0200
committerStjepan Glavina <stjepang@gmail.com>2020-05-11 14:46:12 +0200
commit46ad1d54a5560882f53eef2ed1b4b71f81ce1707 (patch)
tree93db31f4fb28cc86d6f7c94a4e7865a05d8740e4
parent254e1a7d12a83687adb140aa021854fcaf14b254 (diff)
downloadasync-task-46ad1d54a5560882f53eef2ed1b4b71f81ce1707.tar.gz
Grammar
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index f5b96ad..3e3cbf6 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -73,7 +73,7 @@
//! it's waiting for another future and needs to go to sleep. When woken up, its schedule function
//! will be invoked, pushing it back into the queue so that it can be run again.
//!
-//! # Cancelation
+//! # Cancellation
//!
//! Both [`Task`] and [`JoinHandle`] have methods that cancel the task. When canceled, the task's
//! future will not be polled again and will get dropped instead.