Skip to content

Commit

Permalink
Update repeat.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
tesuji authored Jul 11, 2024
1 parent 3f38594 commit 42da74f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/iter/sources/repeat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use crate::num::NonZero;
///
/// Infinite iterators like `repeat()` are often used with adapters like
/// [`Iterator::take()`], in order to make them finite.
///
///
/// > Please prefer [`str::repeat()`] over this function if you just want
/// > to repeat a char/string `n`th times.
///
Expand Down

0 comments on commit 42da74f

Please sign in to comment.