diff --git a/futures-util/src/stream/pending.rs b/futures-util/src/stream/pending.rs index 89b1be9a95..6d167f2b4a 100644 --- a/futures-util/src/stream/pending.rs +++ b/futures-util/src/stream/pending.rs @@ -4,9 +4,7 @@ use core::pin::Pin; use futures_core::{Stream, Poll}; use futures_core::task; -/// A stream which never returns any elements. -/// -/// This stream can be created with the `stream::pending` function. +/// Stream for the [`pending()`] function. #[derive(Debug)] #[must_use = "streams do nothing unless polled"] pub struct Pending {