We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents af140ec + 6e27aa8 commit 04256e7Copy full SHA for 04256e7
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