Skip to content

Commit 6f16a1b

Browse files
Markus Westerlindcramertj
Markus Westerlind
authored andcommitted
Fix doc comments of stream::pending
1 parent d48ed85 commit 6f16a1b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

futures-util/src/stream/pending.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ use core::pin::Pin;
44
use futures_core::{Stream, Poll};
55
use futures_core::task;
66

7-
/// A stream which never returns any elements.
8-
///
9-
/// This stream can be created with the `stream::pending` function.
7+
/// Stream for the [`pending()`] function.
108
#[derive(Debug)]
119
#[must_use = "streams do nothing unless polled"]
1210
pub struct Pending<T> {

0 commit comments

Comments
 (0)