diff options
| author | bors <bors@rust-lang.org> | 2024-08-22 15:55:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-08-22 15:55:11 +0000 |
| commit | b8c02eb11eaac24e56ef718040eb83c304125ac6 (patch) | |
| tree | a6a0a5fb086644d1539194137cce05af062ed084 /compiler/rustc_codegen_gcc/example/std_example.rs | |
| parent | e881c428f58b99f6dcd362fd201f0cf857ade861 (diff) | |
| parent | 3a423fc6b74dda43d771c9e77439c3220870671a (diff) | |
| download | rust-b8c02eb11eaac24e56ef718040eb83c304125ac6.tar.gz rust-b8c02eb11eaac24e56ef718040eb83c304125ac6.zip | |
Auto merge of #3835 - JoJoDeveloping:tb-fix-stack-overflow, r=RalfJung
Avoid extra copy by using `retain_mut` and moving the deletion into the closure Fixes the FIXME introduced in #3833. Thanks to `@dmitrii-ubskii` for the idea :slightly_smiling_face:
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
