use consistent terminology

I did not see other traits using the "interface" word
This commit is contained in:
Tshepang Mbambo 2022-10-29 09:23:12 +02:00
parent 33b55ac39f
commit a36a37e5a8
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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