We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91a4b90 commit db13296Copy full SHA for db13296
src/libcore/iter/sources.rs
@@ -141,7 +141,7 @@ impl<A, F: FnMut() -> A> FusedIterator for RepeatWith<F> {}
141
#[unstable(feature = "trusted_len", issue = "37572")]
142
unsafe impl<A, F: FnMut() -> A> TrustedLen for RepeatWith<F> {}
143
144
-/// Creates a new that repeats elements of type `A` endlessly by
+/// Creates a new iterator that repeats elements of type `A` endlessly by
145
/// applying the provided closure, the repeater, `F: FnMut() -> A`.
146
///
147
/// The `repeat_with()` function calls the repeater over and over and over and
0 commit comments