diff options
| author | bors <bors@rust-lang.org> | 2023-07-30 18:11:08 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-07-30 18:11:08 +0000 |
| commit | a8be6e070f02fca6e5ab851e10e29d45c3a0217c (patch) | |
| tree | 05fe7895492cb8f18f82ad954304da004aed0c53 /compiler/rustc_codegen_llvm/src/context.rs | |
| parent | 89acdae9f243da15549c7a8bc737e6240c301790 (diff) | |
| parent | 148a0c1673110e36cbec83297facba74b000a6c1 (diff) | |
| download | rust-a8be6e070f02fca6e5ab851e10e29d45c3a0217c.tar.gz rust-a8be6e070f02fca6e5ab851e10e29d45c3a0217c.zip | |
Auto merge of #114204 - GuillaumeGomez:remove-unneeded-clone-calls, r=notriddle
[rustdoc] Remove unneeded `clone()` calls for `derive_id` I realized we were cloning values before passing them to `derive_id` where they are cloned again, which isn't great. Since they'll be cloned anyway, let's allow to pass both by reference and by value. r? `@notriddle`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/context.rs')
0 files changed, 0 insertions, 0 deletions
