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!()`
This commit is contained in:
Aaron Suggs 2023-02-21 09:45:59 -05:00
parent 701b4bef51
commit 1ac66f372b

View file

@ -2,13 +2,11 @@
// 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
// number of exercises with a given progress. These counting functions use // number of exercises with a given progress. Recreate this counting
// imperative style for loops. Recreate this counting functionality using // functionality using iterators. Try not to use imperative loops (for, while).
// iterators. Only the two iterator methods (count_iterator and // Only the two iterator methods (count_iterator and count_collection_iterator)
// count_collection_iterator) need to be modified. // need to be modified.
// Execute `rustlings hint iterators5` or use the `hint` watch subcommand for a hint. // 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 // I AM NOT DONE