about summary refs log tree commit diff
path: root/src/libcore/task
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/task')
-rw-r--r--src/libcore/task/wake.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libcore/task/wake.rs b/src/libcore/task/wake.rs
index 7cc200837b4..c2768e70aec 100644
--- a/src/libcore/task/wake.rs
+++ b/src/libcore/task/wake.rs
@@ -188,13 +188,10 @@ impl LocalWaker {
 }
 
 impl From<LocalWaker> for Waker {
-    /// Converts a [`LocalWaker`] into a [`Waker`].
+    /// Converts a `LocalWaker` into a `Waker`.
     ///
     /// This conversion forgets local waker and allocates a new waker with
     /// the same inner.
-    ///
-    /// [`LocalWaker`]: struct.LocalWaker.html
-    /// [`Waker`]: struct.Waker.html
     #[inline]
     fn from(local_waker: LocalWaker) -> Self {
         local_waker.0