Fix documentation typo in std::iter::Iterator::collect_into

This commit is contained in:
NAHO 2023-10-26 19:28:48 +02:00 committed by GitHub
parent 698db856de
commit 4392230c08
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),