diff options
| author | Taras Tsugrii <taras.tsugriy@gmail.com> | 2023-07-31 16:58:04 -0700 |
|---|---|---|
| committer | Taras Tsugrii <taras.tsugriy@gmail.com> | 2023-07-31 16:58:04 -0700 |
| commit | 9eae73a5de31e94db9f85f75f6b08934946f5bcc (patch) | |
| tree | c93d8e41bfadea4a28b27a2e507c0c2ec0c48615 /compiler/rustc_codegen_gcc | |
| parent | fb53384c94b87adebceb6048865c9fe305e71b92 (diff) | |
| download | rust-9eae73a5de31e94db9f85f75f6b08934946f5bcc.tar.gz rust-9eae73a5de31e94db9f85f75f6b08934946f5bcc.zip | |
[rustc_data_structures] Simplify SortedMap::insert.
It looks like current usage of `swap` is aimed at achieving what `std::mem::replace` does but more concisely and idiomatically.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
