summaryrefslogtreecommitdiff
path: root/exercises/iterators
diff options
context:
space:
mode:
authorAaron Suggs <ktheory@users.noreply.github.com>2023-02-21 09:45:59 -0500
committerAaron Suggs <ktheory@users.noreply.github.com>2023-02-21 09:45:59 -0500
commit1ac66f372b670f5218334c1bb0dadcb67ca5cbd4 (patch)
treea02077deefb3fbc62e2a4e1df8fe4813e5c1dfbf /exercises/iterators
parent701b4bef51b50d1fd3bb7fbfe3cc274f2bbdcb0c (diff)
docs: clarify instructions on iterators5.rs
I changed the sentence that referenced the imperative implementation in iterators5.rs. That implementation was already removed and replaced with `todo!()`
Diffstat (limited to 'exercises/iterators')
-rw-r--r--exercises/iterators/iterators5.rs10
1 files changed, 4 insertions, 6 deletions
diff --git a/exercises/iterators/iterators5.rs b/exercises/iterators/iterators5.rs
index 0593d12..8709795 100644
--- a/exercises/iterators/iterators5.rs
+++ b/exercises/iterators/iterators5.rs
@@ -2,13 +2,11 @@
// Let's define a simple model to track Rustlings exercise progress. Progress
// will be modelled using a hash map. The name of the exercise is the key and
// the progress is the value. Two counting functions were created to count the
-// number of exercises with a given progress. These counting functions use
-// imperative style for loops. Recreate this counting functionality using
-// iterators. Only the two iterator methods (count_iterator and
-// count_collection_iterator) need to be modified.
+// number of exercises with a given progress. Recreate this counting
+// functionality using iterators. Try not to use imperative loops (for, while).
+// Only the two iterator methods (count_iterator and count_collection_iterator)
+// need to be modified.
// Execute `rustlings hint iterators5` or use the `hint` watch subcommand for a hint.
-//
-// Make the code compile and the tests pass.
// I AM NOT DONE