about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-08-01 06:55:55 +0200
committerGitHub <noreply@github.com>2023-08-01 06:55:55 +0200
commita902550233f2b6c3e039a3beab814ec3527f2c9e (patch)
tree30f987a5d5738cc041c1be7f336e65025f3ab6f9 /compiler/rustc_codegen_gcc
parentff8b96f88b1d1999e04658c60cccc56075ddc998 (diff)
parent9eae73a5de31e94db9f85f75f6b08934946f5bcc (diff)
downloadrust-a902550233f2b6c3e039a3beab814ec3527f2c9e.tar.gz
rust-a902550233f2b6c3e039a3beab814ec3527f2c9e.zip
Rollup merge of #114313 - ttsugriy:sm-insert, r=petrochenkov
[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