From 8a75d5551432512688bdb6865b3858f5d317d9b0 Mon Sep 17 00:00:00 2001 From: Michael Goulet Date: Tue, 15 Mar 2022 20:59:13 -0700 Subject: [PATCH] Add Stream alias for AsyncIterator --- library/core/src/async_iter/async_iter.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/library/core/src/async_iter/async_iter.rs b/library/core/src/async_iter/async_iter.rs index f29de31171a..016a3685e85 100644 --- a/library/core/src/async_iter/async_iter.rs +++ b/library/core/src/async_iter/async_iter.rs @@ -12,6 +12,7 @@ use crate::task::{Context, Poll}; /// [impl]: index.html#implementing-async-iterator #[unstable(feature = "async_iterator", issue = "79024")] #[must_use = "async iterators do nothing unless polled"] +#[doc(alias = "Stream")] pub trait AsyncIterator { /// The type of items yielded by the async iterator. type Item;