diff options
Diffstat (limited to 'tokio/src/stream')
-rw-r--r-- | tokio/src/stream/empty.rs | 2 | ||||
-rw-r--r-- | tokio/src/stream/iter.rs | 2 | ||||
-rw-r--r-- | tokio/src/stream/once.rs | 2 | ||||
-rw-r--r-- | tokio/src/stream/pending.rs | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tokio/src/stream/empty.rs b/tokio/src/stream/empty.rs index 6118673e..2f56ac6c 100644 --- a/tokio/src/stream/empty.rs +++ b/tokio/src/stream/empty.rs @@ -4,7 +4,7 @@ use core::marker::PhantomData; use core::pin::Pin; use core::task::{Context, Poll}; -/// Stream for the [`empty`] function. +/// Stream for the [`empty`](fn@empty) function. #[derive(Debug)] #[must_use = "streams do nothing unless polled"] pub struct Empty<T>(PhantomData<T>); diff --git a/tokio/src/stream/iter.rs b/tokio/src/stream/iter.rs index 36eeb561..d84929d7 100644 --- a/tokio/src/stream/iter.rs +++ b/tokio/src/stream/iter.rs @@ -3,7 +3,7 @@ use crate::stream::Stream; use core::pin::Pin; use core::task::{Context, Poll}; -/// Stream for the [`iter`] function. +/// Stream for the [`iter`](fn@iter) function. #[derive(Debug)] #[must_use = "streams do nothing unless polled"] pub struct Iter<I> { diff --git a/tokio/src/stream/once.rs b/tokio/src/stream/once.rs index 04a642f3..7fe204cc 100644 --- a/tokio/src/stream/once.rs +++ b/tokio/src/stream/once.rs @@ -4,7 +4,7 @@ use core::option; use core::pin::Pin; use core::task::{Context, Poll}; -/// Stream for the [`once`] function. +/// Stream for the [`once`](fn@once) function. #[derive(Debug)] #[must_use = "streams do nothing unless polled"] pub struct Once<T> { diff --git a/tokio/src/stream/pending.rs b/tokio/src/stream/pending.rs index 2e06a1c2..21224c38 100644 --- a/tokio/src/stream/pending.rs +++ b/tokio/src/stream/pending.rs @@ -4,7 +4,7 @@ use core::marker::PhantomData; use core::pin::Pin; use core::task::{Context, Poll}; -/// Stream for the [`pending`] function. +/// Stream for the [`pending`](fn@pending) function. #[derive(Debug)] #[must_use = "streams do nothing unless polled"] pub struct Pending<T>(PhantomData<T>); |