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)
-
-
it would iterate over the value of the Option only *if* it exists. map() returns a value, but foreach does not.
-
ah ha!
End of conversation
New conversation -
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.