Skip to content

Commit c25975d

Browse files
authored
Rollup merge of #66019 - olegnn:fixed_std_iter_chain_docs, r=Mark-Simulacrum
Improved std::iter::Chain documentation Replaces `strings two iterators` by `links two iterators` in `std::iter::Chain` documentation. I didn't find any meaning of `strings` which can be evaluated as `links` or `joins`. I don't think that `std::iter:Chain` works as a stringer or plays billiards. (https://www.lexico.com/en/definition/string).
2 parents 370d01a + 595d818 commit c25975d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/iter/adapters/chain.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use crate::usize;
33

44
use super::super::{Iterator, DoubleEndedIterator, FusedIterator, TrustedLen};
55

6-
/// An iterator that strings two iterators together.
6+
/// An iterator that links two iterators together, in a chain.
77
///
88
/// This `struct` is created by the [`chain`] method on [`Iterator`]. See its
99
/// documentation for more.

0 commit comments

Comments
 (0)