I miss the "foreach" method for Options in #rustlang (and no, iter() isn't the same, since I still have to case match against the elements)
-
-
-
Replying to @rustlang
it would iterate over the value of the Option only *if* it exists. map() returns a value, but foreach does not.
1 reply 0 retweets 1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.