Skip to content

Commit

Permalink
core::iter::repeat_with: fix missing word, see @Pazzaz's review
Browse files Browse the repository at this point in the history
  • Loading branch information
Centril committed Feb 13, 2018
1 parent 91a4b90 commit db13296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/iter/sources.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ impl<A, F: FnMut() -> A> FusedIterator for RepeatWith<F> {}
#[unstable(feature = "trusted_len", issue = "37572")]
unsafe impl<A, F: FnMut() -> A> TrustedLen for RepeatWith<F> {}

/// Creates a new that repeats elements of type `A` endlessly by
/// Creates a new iterator that repeats elements of type `A` endlessly by
/// applying the provided closure, the repeater, `F: FnMut() -> A`.
///
/// The `repeat_with()` function calls the repeater over and over and over and
Expand Down

0 comments on commit db13296

Please sign in to comment.