Skip to content

Commit

Permalink
Rollup merge of #117240 - trueNAHO:docs-std-iter-Iterator-collect-int…
Browse files Browse the repository at this point in the history
…o-fix-typo, r=the8472

Fix documentation typo in std::iter::Iterator::collect_into
  • Loading branch information
TaKO8Ki authored Oct 27, 2023
2 parents 15c3b76 + 4392230 commit ce4d5aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/iter/traits/iterator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2142,7 +2142,7 @@ pub trait Iterator {
/// passed collection. The collection is then returned, so the call chain
/// can be continued.
///
/// This is useful when you already have a collection and wants to add
/// This is useful when you already have a collection and want to add
/// the iterator items to it.
///
/// This method is a convenience method to call [Extend::extend](trait.Extend.html),
Expand Down

0 comments on commit ce4d5aa

Please sign in to comment.