]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/async_iter/async_iter.rs
Rollup merge of #101702 - jsha:static-files2, r=notriddle,GuillaumeGomez
[rust.git] / library / core / src / async_iter / async_iter.rs
index f29de31171a67446ac456a23eb1408652c3bf054..12a47f9fc76265ff866d649e1f44b14a51fb6b11 100644 (file)
@@ -2,7 +2,7 @@
 use crate::pin::Pin;
 use crate::task::{Context, Poll};
 
-/// An interface for dealing with asynchronous iterators.
+/// A trait for dealing with asynchronous iterators.
 ///
 /// This is the main async iterator trait. For more about the concept of async iterators
 /// generally, please see the [module-level documentation]. In particular, you
@@ -12,6 +12,7 @@
 /// [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;