chore(iterators5): Minor formatting improvements.
This commit is contained in:
parent
6b6dc9dd48
commit
7f0d2c2bf0
@ -1,5 +1,4 @@
|
|||||||
// iterators5.rs
|
// iterators5.rs
|
||||||
|
|
||||||
// Let's define a simple model to track Rustlings exercise progress. Progress
|
// 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
|
// 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
|
// the progress is the value. Two counting functions were created to count the
|
||||||
@ -7,8 +6,7 @@
|
|||||||
// imperative style for loops. Recreate this counting functionality using
|
// imperative style for loops. Recreate this counting functionality using
|
||||||
// iterators. Only the two iterator methods (count_iterator and
|
// iterators. Only the two iterator methods (count_iterator and
|
||||||
// count_collection_iterator) need to be modified.
|
// count_collection_iterator) need to be modified.
|
||||||
// Execute `rustlings hint
|
// Execute `rustlings hint iterators5` for hints.
|
||||||
// iterators5` for hints.
|
|
||||||
//
|
//
|
||||||
// Make the code compile and the tests pass.
|
// Make the code compile and the tests pass.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user