summary refs log tree commit diff
path: root/src/libstd/future.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2018-08-19 15:30:23 +0200
committerMatthias Krüger <matthias.krueger@famsik.de>2018-08-19 17:41:28 +0200
commit71120ef1e5cb885ee45e6148970db6ce93ce1aca (patch)
tree9358c738c8943f0bc0b65303818237a801b8b0e1 /src/libstd/future.rs
parenta9fe312b98d5a6b194c4ad1a17dcf258ba9941ea (diff)
downloadrust-71120ef1e5cb885ee45e6148970db6ce93ce1aca.tar.gz
rust-71120ef1e5cb885ee45e6148970db6ce93ce1aca.zip
Fix typos found by codespell.
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