about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/alloc_example.rs
diff options
context:
space:
mode:
authorTrevor Gross <t.gross35@gmail.com>2025-05-27 20:28:34 -0400
committerGitHub <noreply@github.com>2025-05-27 20:28:34 -0400
commitda61494400b7a0fc0613d7424983a7d3c19c1afe (patch)
tree2bf7b2585787ce7dc10e7d986b0801f995dca08c /compiler/rustc_codegen_gcc/example/alloc_example.rs
parentf953c6dc66f092bebee0c2b446b9734812cdd70c (diff)
parenteed065958bec9402f4f12810a6ddebddb86b8433 (diff)
downloadrust-da61494400b7a0fc0613d7424983a7d3c19c1afe.tar.gz
rust-da61494400b7a0fc0613d7424983a7d3c19c1afe.zip
Rollup merge of #141659 - tkr-sh:map-or-default, r=Amanieu
Add `Result::map_or_default` and `Option::map_or_default`

Closes: https://github.com/rust-lang/rust/pull/138068

_This PR has been recreated because of the inactivity of the author (Cf. https://github.com/rust-lang/rust/pull/138068#issuecomment-2912412288)_
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions