diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2023-05-07 14:12:17 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-07 14:12:17 +0900 |
| commit | 816e0295b51fe88ec167b47b8dc11982611fc4c4 (patch) | |
| tree | 83814c9801728cb0e69e1f295ec3656a1c361133 /compiler/rustc_codegen_gcc | |
| parent | 88a0204fcb6608862834f8b2c898168881fd3b9e (diff) | |
| parent | ec7fcdc959872d7ba9e1d20fa598a3f95678885b (diff) | |
| download | rust-816e0295b51fe88ec167b47b8dc11982611fc4c4.tar.gz rust-816e0295b51fe88ec167b47b8dc11982611fc4c4.zip | |
Rollup merge of #111301 - JohnBobbo96:cleanup_option_insert_methods, r=scottmcm
Remove calls to `mem::forget` and `mem::replace` in `Option::get_or_insert_with`. This removes the unneeded calls to `mem::forget` and `mem::replace` in `Option::get_or_insert_with`.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
