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