about summary refs log tree commit diff
path: root/src/libstd/future.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/future.rs')
-rw-r--r--src/libstd/future.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/future.rs b/src/libstd/future.rs
index 12ea1ea9f9d..cadb5c0ba5d 100644
--- a/src/libstd/future.rs
+++ b/src/libstd/future.rs
@@ -88,7 +88,7 @@ where
 /// This function acquires exclusive access to the task context.
 ///
 /// Panics if no task has been set or if the task context has already been
-/// retrived by a surrounding call to get_task_cx.
+/// retrieved by a surrounding call to get_task_cx.
 pub fn get_task_cx<F, R>(f: F) -> R
 where
     F: FnOnce(&mut task::Context) -> R