Fix typo in library/core/src/iter/traits/iterator.rs

This commit is contained in:
Gabriel Dolberg 2024-04-07 18:55:28 +03:00 committed by GitHub
parent 4e431fad67
commit a1d4066e53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1572,7 +1572,7 @@ pub trait Iterator {
///
/// The returned iterator implements [`FusedIterator`], because once `self`
/// returns `None`, even if it returns a `Some(T)` again in the next iterations,
/// we cannot put it into a contigious array buffer, and thus the returned iterator
/// we cannot put it into a contiguous array buffer, and thus the returned iterator
/// should be fused.
///
/// [`slice::windows()`]: slice::windows