mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-29 21:55:30 +00:00
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.