8000
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.
repeat_n
1 parent 0ab703c commit a993e1dCopy full SHA for a993e1d
core/src/iter/sources/repeat_n.rs
@@ -8,9 +8,7 @@ use crate::num::NonZero;
8
/// The `repeat_n()` function repeats a single value exactly `n` times.
9
///
10
/// This is very similar to using [`repeat()`] with [`Iterator::take()`],
11
-/// but there are two differences:
12
-/// - `repeat_n()` can return the original value, rather than always cloning.
13
-/// - `repeat_n()` produces an [`ExactSizeIterator`].
+/// but `repeat_n()` can return the original value, rather than always cloning.
14
15
/// [`repeat()`]: crate::iter::repeat
16
0 commit comments