Skip to content

Commit 67e01bf

Browse files
authored
Rollup merge of #94989 - compiler-errors:stream-alias, r=Dylan-DPC
Add Stream alias for AsyncIterator Fixes #94965
2 parents 11657c8 + 6f6c1b0 commit 67e01bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/async_iter/async_iter.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ use crate::task::{Context, Poll};
1212
/// [impl]: index.html#implementing-async-iterator
1313
#[unstable(feature = "async_iterator", issue = "79024")]
1414
#[must_use = "async iterators do nothing unless polled"]
15+
#[doc(alias = "Stream")]
1516
pub trait AsyncIterator {
1617
/// The type of items yielded by the async iterator.
1718
type Item;

0 commit comments

Comments
 (0)