3 ms·
We have `flat_map` for iterators. (`and_then` works for Options, which are basically nullables) You can convert an Option to a zero-cost iterator and then use
by Manishearth 12y ago
We have `flat_map` for iterators. (`and_then` works for Options, which are basically nullables)
You can convert an Option to a zero-cost iterator and then use `flat_map` though.