Skip to content

Commit 248bb0c

Browse files
authored
Rollup merge of #117240 - trueNAHO:docs-std-iter-Iterator-collect-into-fix-typo, r=the8472
Fix documentation typo in std::iter::Iterator::collect_into
2 parents 4e85203 + 4392230 commit 248bb0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/iter/traits/iterator.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2142,7 +2142,7 @@ pub trait Iterator {
21422142
/// passed collection. The collection is then returned, so the call chain
21432143
/// can be continued.
21442144
///
2145-
/// This is useful when you already have a collection and wants to add
2145+
/// This is useful when you already have a collection and want to add
21462146
/// the iterator items to it.
21472147
///
21482148
/// This method is a convenience method to call [Extend::extend](trait.Extend.html),

0 commit comments

Comments
 (0)