Skip to content

Commit

Permalink
Rollup merge of rust-lang#117240 - trueNAHO:docs-std-iter-Iterator-co…
Browse files Browse the repository at this point in the history
…llect-into-fix-typo, r=the8472

Fix documentation typo in std::iter::Iterator::collect_into
  • Loading branch information
TaKO8Ki authored Oct 27, 2023
2 parents 4e85203 + 4392230 commit 248bb0c
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 248bb0c

Please sign in to comment.