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

Co-authored-by: Yuki Okushi <jtitor@2k36.org>
This commit is contained in:
lukaslueg 2021-04-07 18:02:39 +02:00 committed by GitHub
parent 72796a7c36
commit 4c850f3783
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -944,7 +944,7 @@ pub trait Iterator {
/// Note that the underlying iterator is still advanced when [`peek`] or
/// [`peek_mut`] are called for the first time: In order to retrieve the
/// next element, [`next`] is called on the underlying iterator, hence any
/// side effects (i.e. anything other than fetching the next value) of
/// side effects (i.e. anything other than fetching the next value) of
/// the [`next`] method will occur.
///
///