about summary refs log tree commit diff
path: root/src/libcore/task
diff options
context:
space:
mode:
authorAlexander Regueiro <alexreg@me.com>2019-02-09 22:16:58 +0000
committerAlexander Regueiro <alexreg@me.com>2019-03-11 02:25:44 +0000
commit8629fd3e4e5184852352ea1bb18bb1c8465ffac3 (patch)
treef6e2daab2a2584e18b8989a89a160ab27c6e548b /src/libcore/task
parent9d71ec1358ac063fe6ff1eaed0ba6ed3cedde610 (diff)
downloadrust-8629fd3e4e5184852352ea1bb18bb1c8465ffac3.tar.gz
rust-8629fd3e4e5184852352ea1bb18bb1c8465ffac3.zip
Improvements to comments in libstd, libcore, liballoc.
Diffstat (limited to 'src/libcore/task')
-rw-r--r--src/libcore/task/wake.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/task/wake.rs b/src/libcore/task/wake.rs
index 21f0a8cea41..12f812d3bed 100644
--- a/src/libcore/task/wake.rs
+++ b/src/libcore/task/wake.rs
@@ -108,7 +108,7 @@ impl Waker {
         unsafe { (self.waker.vtable.wake)(self.waker.data) }
     }
 
-    /// Returns whether or not this `Waker` and other `Waker` have awaken the same task.
+    /// Returns `true` if this `Waker` and another `Waker` have awoken the same task.
     ///
     /// This function works on a best-effort basis, and may return false even
     /// when the `Waker`s would awaken the same task. However, if this function