use consistent terminology
I did not see other traits using the "interface" word
This commit is contained in:
parent
33b55ac39f
commit
a36a37e5a8
@ -2,7 +2,7 @@
|
|||||||
use crate::pin::Pin;
|
use crate::pin::Pin;
|
||||||
use crate::task::{Context, Poll};
|
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
|
/// 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
|
/// generally, please see the [module-level documentation]. In particular, you
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
fn _assert_is_object_safe(_: &dyn Iterator<Item = ()>) {}
|
fn _assert_is_object_safe(_: &dyn Iterator<Item = ()>) {}
|
||||||
|
|
||||||
/// An interface for dealing with iterators.
|
/// A trait for dealing with iterators.
|
||||||
///
|
///
|
||||||
/// This is the main iterator trait. For more about the concept of iterators
|
/// This is the main iterator trait. For more about the concept of iterators
|
||||||
/// generally, please see the [module-level documentation]. In particular, you
|
/// generally, please see the [module-level documentation]. In particular, you
|
||||||
|
Loading…
Reference in New Issue
Block a user