rust/compiler/rustc_monomorphize/src
Matthias Krüger c582c0c137
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.
2024-08-15 00:02:27 +02:00
..
collector Remove #[macro_use] extern crate tracing from rustc_monomorphize. 2024-05-23 18:02:40 +10:00
collector.rs Rename struct_tail_erasing_lifetimes to struct_tail_for_codegen 2024-08-08 12:15:16 -04:00
errors.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
lib.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
partitioning.rs Rollup merge of #129067 - cuviper:append, r=wesleywiser 2024-08-15 00:02:27 +02:00
polymorphize.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
util.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00