diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2018-02-13 06:20:17 +0100 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2018-02-13 06:20:17 +0100 |
| commit | db13296b6fd6b68ab06055bdcb9a22078b11de6a (patch) | |
| tree | 12c87de8e4eb83a061857f6c9b0c869f2bfeb6e8 /src/libcore | |
| parent | 91a4b9044d7f104516984d1076b04b99cef7a6b9 (diff) | |
| download | rust-db13296b6fd6b68ab06055bdcb9a22078b11de6a.tar.gz rust-db13296b6fd6b68ab06055bdcb9a22078b11de6a.zip | |
core::iter::repeat_with: fix missing word, see @Pazzaz's review
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/iter/sources.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/iter/sources.rs b/src/libcore/iter/sources.rs index eb8a22709b0..3e9d799c089 100644 --- a/src/libcore/iter/sources.rs +++ b/src/libcore/iter/sources.rs @@ -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 |
