Rollup merge of #117240 - trueNAHO:docs-std-iter-Iterator-collect-into-fix-typo, r=the8472

Fix documentation typo in std::iter::Iterator::collect_into
This commit is contained in:
Matthias Krüger 2023-10-27 11:48:06 +02:00 committed by GitHub
commit 203292e489
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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),