You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am up to iterators5.rs and got the first function completed (count_iterator) solved, but I am having trouble with the second function called count_collection_iterator. As I understand it, I need to use the fold method, but I am unclear how to use it. Specifically how to match it with the value: Progress that is passed in.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am up to
iterators5.rs
and got the first function completed (count_iterator
) solved, but I am having trouble with the second function calledcount_collection_iterator
. As I understand it, I need to use thefold
method, but I am unclear how to use it. Specifically how to match it with thevalue: Progress
that is passed in.Beta Was this translation helpful? Give feedback.
All reactions