about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-15 00:02:27 +0200
committerGitHub <noreply@github.com>2024-08-15 00:02:27 +0200
commitc582c0c1370101391cda7cd3f1a24c2d664c7645 (patch)
tree36ac79d426ab4579662abfe3dfd563798e946662 /compiler/rustc_codegen_llvm/src/errors.rs
parentd14fa852c7f45c386d1009b720b33e8cfd0f466e (diff)
parentce67e68cce3f4582db48b86c51a35c76d1103654 (diff)
downloadrust-c582c0c1370101391cda7cd3f1a24c2d664c7645.tar.gz
rust-c582c0c1370101391cda7cd3f1a24c2d664c7645.zip
Rollup merge of #129067 - cuviper:append, r=wesleywiser
Use `append` instead of `extend(drain(..))`

The first commit adds `IndexVec::append` that forwards to `Vec::append`, and uses it in a couple places.

The second commit updates `indexmap` for its new `IndexMap::append`, and also uses that in a couple places.

These changes are similar to what [`clippy::extend_with_drain`](https://rust-lang.github.io/rust-clippy/master/index.html#/extend_with_drain) would suggest, just for other collection types.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions