Skip to content

Commit 4392230

Browse files
authored
Fix documentation typo in std::iter::Iterator::collect_into
1 parent 698db85 commit 4392230

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)