Skip to content

Commit

Permalink
Fix documentation typo in std::iter::Iterator::collect_into
Browse files Browse the repository at this point in the history
  • Loading branch information
trueNAHO authored Oct 26, 2023
1 parent 698db85 commit 4392230
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 4392230

Please sign in to comment.