Skip to content

Commit 4e3e6d4

Browse files
Add Stream alias for AsyncIterator
1 parent 38abe83 commit 4e3e6d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)