diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-06-03 20:38:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-03 20:38:11 +0200 |
| commit | 6e024ecab8e31eca146a2a80081f0606b693a802 (patch) | |
| tree | 2c463a62a05e00c144e7985102f26acba6c1c786 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 91f222f931796225ded16ffe7d26a6c69e9f52f6 (diff) | |
| parent | 440912b74f5ac063d8993741120a519bed3882f2 (diff) | |
| download | rust-6e024ecab8e31eca146a2a80081f0606b693a802.tar.gz rust-6e024ecab8e31eca146a2a80081f0606b693a802.zip | |
Rollup merge of #111702 - cgwalters:option-map-or-else-with-result, r=Mark-Simulacrum
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
