Skip to content

Commit 42da74f

Browse files
authored
Update repeat.rs
1 parent 3f38594 commit 42da74f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/iter/sources/repeat.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use crate::num::NonZero;
77
///
88
/// Infinite iterators like `repeat()` are often used with adapters like
99
/// [`Iterator::take()`], in order to make them finite.
10-
///
10+
///
1111
/// > Please prefer [`str::repeat()`] over this function if you just want
1212
/// > to repeat a char/string `n`th times.
1313
///

0 commit comments

Comments
 (0)