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
matthiaskrgr committed Oct 27, 2023
2 parents a69fb48 + 4392230 commit 203292e
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 203292e

Please sign in to comment.