mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
6e024ecab8
Option::map_or_else: Show an example of integrating with Result Moving this from https://github.com/rust-lang/libs-team/issues/59 where an API addition was rejected. But I think it's valuable to add this example to the documentation at least.