summaryrefslogtreecommitdiffstats
path: root/tokio/src/stream
diff options
context:
space:
mode:
authorGeoff Shannon <geoffpshannon@gmail.com>2020-05-14 07:51:55 -0700
committerGitHub <noreply@github.com>2020-05-14 16:51:55 +0200
commitb44ab273597d3757b5b50eed95c4f8890fa54e42 (patch)
tree34192a726cd72679bead33376d2f8bed86d67f26 /tokio/src/stream
parent02661ba30aed5d02e142212a323103d1bf84557b (diff)
docs: improve discoverability of codec module (#2523)
Diffstat (limited to 'tokio/src/stream')
-rw-r--r--tokio/src/stream/empty.rs2
-rw-r--r--tokio/src/stream/iter.rs2
-rw-r--r--tokio/src/stream/once.rs2
-rw-r--r--tokio/src/stream/pending.rs2
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>);