rust-lang/rust-by-example

The last example in 18.6. "Iterating over Results" should also show use of partition_result

svetli97 opened this issue · 0 comments

partition_map and partition_result are nice ways of circumventing the boilerplate code that the example suggests is necessary.
I suppose the example was made before those functions were added?