about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorlukaslueg <lukas.lueg@gmail.com>2019-03-14 17:06:46 +0100
committerGitHub <noreply@github.com>2019-03-14 17:06:46 +0100
commitd1fcd867386f40af25cd66f5d4a2dfcd028d858d (patch)
treedf9ccfadb8f9c72402c94df068b8d02c2168150e /src/libcore
parent3163c58ea53c1a96b1c1374ea8cf26d296dca4c9 (diff)
downloadrust-d1fcd867386f40af25cd66f5d4a2dfcd028d858d.tar.gz
rust-d1fcd867386f40af25cd66f5d4a2dfcd028d858d.zip
Update sources.rs
The current language may be amusing, yet is just imprecise and most especially difficult to understand for someone who speaks English as a foreign language.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/iter/sources.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libcore/iter/sources.rs b/src/libcore/iter/sources.rs
index 74ff7f41d76..ffc24df3ed4 100644
--- a/src/libcore/iter/sources.rs
+++ b/src/libcore/iter/sources.rs
@@ -39,8 +39,7 @@ unsafe impl<A: Clone> TrustedLen for Repeat<A> {}
 
 /// Creates a new iterator that endlessly repeats a single element.
 ///
-/// The `repeat()` function repeats a single value over and over and over and
-/// over and over and 🔁.
+/// The `repeat()` function repeats a single value over and over again.
 ///
 /// Infinite iterators like `repeat()` are often used with adapters like
 /// [`take`], in order to make them finite.
@@ -128,8 +127,7 @@ unsafe impl<A, F: FnMut() -> A> TrustedLen for RepeatWith<F> {}
 /// 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
-/// over and over and 🔁.
+/// The `repeat_with()` function calls the repeater over and over again.
 ///
 /// Infinite iterators like `repeat_with()` are often used with adapters like
 /// [`take`], in order to make them finite.