Skip to content

Commit e4821d7

Browse files
authored
Rollup merge of #103715 - tshepang:consistency, r=Dylan-DPC
use consistent terminology I did not see other traits using the "interface" word
2 parents 6460d3b + a36a37e commit e4821d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/core/src/async_iter/async_iter.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use crate::ops::DerefMut;
22
use crate::pin::Pin;
33
use crate::task::{Context, Poll};
44

5-
/// An interface for dealing with asynchronous iterators.
5+
/// A trait for dealing with asynchronous iterators.
66
///
77
/// This is the main async iterator trait. For more about the concept of async iterators
88
/// generally, please see the [module-level documentation]. In particular, you

library/core/src/iter/traits/iterator.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use super::super::{
1414

1515
fn _assert_is_object_safe(_: &dyn Iterator<Item = ()>) {}
1616

17-
/// An interface for dealing with iterators.
17+
/// A trait for dealing with iterators.
1818
///
1919
/// This is the main iterator trait. For more about the concept of iterators
2020
/// generally, please see the [module-level documentation]. In particular, you

0 commit comments

Comments
 (0)