We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
repeat_n
1 parent 3ed6e3c commit cdacdaeCopy full SHA for cdacdae
library/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