File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 2
2
// Let's define a simple model to track Rustlings exercise progress. Progress
3
3
// will be modelled using a hash map. The name of the exercise is the key and
4
4
// the progress is the value. Two counting functions were created to count the
5
- // number of exercises with a given progress. These counting functions use
6
- // imperative style for loops. Recreate this counting functionality using
7
- // iterators. Only the two iterator methods (count_iterator and
8
- // count_collection_iterator) need to be modified.
5
+ // number of exercises with a given progress. Recreate this counting
6
+ // functionality using iterators. Try not to use imperative loops (for, while).
7
+ // Only the two iterator methods (count_iterator and count_collection_iterator)
8
+ // need to be modified.
9
9
// Execute `rustlings hint iterators5` or use the `hint` watch subcommand for a hint.
10
- //
11
- // Make the code compile and the tests pass.
12
10
13
11
// I AM NOT DONE
14
12
You can’t perform that action at this time.
0 commit comments