mirror of
https://github.com/ArthurDanjou/rustlings.git
synced 2026-01-24 16:50:26 +01:00
Merge pull request #771 from tlyu/iterators5-trait-tweak
fix(iterators5): derive Clone, Copy
This commit is contained in:
@@ -798,7 +798,10 @@ test count_iterator.
|
||||
The collection variable in count_collection_iterator is a slice of HashMaps. It
|
||||
needs to be converted into an iterator in order to use the iterator methods.
|
||||
|
||||
The fold method can be useful in the count_collection_iterator function."""
|
||||
The fold method can be useful in the count_collection_iterator function.
|
||||
|
||||
For a further challenge, consult the documentation for Iterator to find
|
||||
a different method that could make your code more compact than using fold."""
|
||||
|
||||
# THREADS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user