Skip to content

Commit 24a7aad

Browse files
authored
Rollup merge of #94989 - compiler-errors:stream-alias, r=Dylan-DPC
Add Stream alias for AsyncIterator Fixes #94965
2 parents db374bd + 8a75d55 commit 24a7aad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/async_iter/async_iter.rs

+1
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)