mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
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::ops::DerefMut;
|
||||
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
|
||||
|
@ -14,7 +14,7 @@ use super::super::{
|
||||
|
||||
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
|
||||
/// generally, please see the [module-level documentation]. In particular, you
|
||||
|
Loading…
Reference in New Issue
Block a user