rust/compiler/rustc_middle
Matthias Krüger 7552dd19ad
Rollup merge of #117625 - nnethercote:clippy-perf, r=cuviper
Fix some clippy perf lints

`@matthiaskrgr` gave me the output of a clippy run with perf lints enabled. This PR fixes ones that I thought were worth fixing.

r? `@cuviper`
2023-11-08 00:47:51 +01:00
..
2023-10-30 08:46:02 +11:00

For more information about how rustc works, see the rustc dev guide.