diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-03-20 09:15:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-20 09:15:00 +0100 |
| commit | 24a7aad08241556a532b76fb601c5aba53a695bb (patch) | |
| tree | 812227803c158ade3ce24f2482a21ad225aaf4b6 | |
| parent | db374bd440fb19dd697524ff7b317219522dc545 (diff) | |
| parent | 8a75d5551432512688bdb6865b3858f5d317d9b0 (diff) | |
| download | rust-24a7aad08241556a532b76fb601c5aba53a695bb.tar.gz rust-24a7aad08241556a532b76fb601c5aba53a695bb.zip | |
Rollup merge of #94989 - compiler-errors:stream-alias, r=Dylan-DPC
Add Stream alias for AsyncIterator Fixes #94965
| -rw-r--r-- | library/core/src/async_iter/async_iter.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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; |
