summaryrefslogtreecommitdiffstats
path: root/tokio/src/sync/mpsc/unbounded.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/src/sync/mpsc/unbounded.rs')
-rw-r--r--tokio/src/sync/mpsc/unbounded.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tokio/src/sync/mpsc/unbounded.rs b/tokio/src/sync/mpsc/unbounded.rs
index 63d04370..d1222f28 100644
--- a/tokio/src/sync/mpsc/unbounded.rs
+++ b/tokio/src/sync/mpsc/unbounded.rs
@@ -8,7 +8,7 @@ use std::task::{Context, Poll};
/// Send values to the associated `UnboundedReceiver`.
///
/// Instances are created by the
-/// [`unbounded_channel`](fn.unbounded_channel.html) function.
+/// [`unbounded_channel`](unbounded_channel) function.
pub struct UnboundedSender<T> {
chan: chan::Tx<T, Semaphore>,
}
@@ -32,7 +32,7 @@ impl<T> fmt::Debug for UnboundedSender<T> {
/// Receive values from the associated `UnboundedSender`.
///
/// Instances are created by the
-/// [`unbounded_channel`](fn.unbounded_channel.html) function.
+/// [`unbounded_channel`](unbounded_channel) function.
pub struct UnboundedReceiver<T> {
/// The channel receiver
chan: chan::Rx<T, Semaphore>,