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