We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bc7d9c7 + 6e27aa8 commit 1825fbeCopy full SHA for 1825fbe
src/libcore/iter/sources.rs
@@ -159,7 +159,7 @@ unsafe impl<A, F: FnMut() -> A> TrustedLen for RepeatWith<F> {}
159
/// [`repeat`]: fn.repeat.html
160
///
161
/// An iterator produced by `repeat_with()` is a `DoubleEndedIterator`.
162
-/// It is important to not that reversing `repeat_with(f)` will produce
+/// It is important to note that reversing `repeat_with(f)` will produce
163
/// the exact same sequence as the non-reversed iterator. In other words,
164
/// `repeat_with(f).rev().collect::<Vec<_>>()` is equivalent to
165
/// `repeat_with(f).collect::<Vec<_>>()`.
0 commit comments