chore(iterators5): conciseness hint

This commit is contained in:
Taylor Yu 2021-06-06 17:39:13 -05:00
parent 91fc9e3118
commit 4e079fdd08
1 changed files with 4 additions and 1 deletions

View File

@ -788,7 +788,10 @@ test count_iterator.
The collection variable in count_collection_iterator is a slice of HashMaps. It 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. 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 # THREADS