about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2023-05-17 17:29:02 -0400
committerColin Walters <walters@verbum.org>2023-05-18 08:02:53 -0400
commit440912b74f5ac063d8993741120a519bed3882f2 (patch)
tree79a349c13aac83ee5cabec1def20f2b26a512171 /compiler/rustc_codegen_llvm/src/errors.rs
parent24c180c438b5ee9a150d20b9822bd7712bef8f62 (diff)
downloadrust-440912b74f5ac063d8993741120a519bed3882f2.tar.gz
rust-440912b74f5ac063d8993741120a519bed3882f2.zip
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions