about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-12-27 04:14:20 +0000
committerbors <bors@rust-lang.org>2020-12-27 04:14:20 +0000
commit0f42d47bd5352028fe297f5e759b7e3763d55cbb (patch)
tree210c230bc984abd71515fa5638464810809eb8b0 /compiler/rustc_codegen_cranelift/src
parent7e0246552facb87995fb2ee6b211b9ffd05b4c62 (diff)
parent7adeb710fbb1cc27e4c098c3dbdf249f59e16065 (diff)
downloadrust-0f42d47bd5352028fe297f5e759b7e3763d55cbb.tar.gz
rust-0f42d47bd5352028fe297f5e759b7e3763d55cbb.zip
Auto merge of #80400 - adlerd:hashclone, r=Mark-Simulacrum
Use `clone_from` from `hashbrown::{HashMap,HashSet}`.

This change updates the `std` hash collections to use `hashbrown`'s `clone_from`, which was itself added in #70052. Deriving `Clone` does not add a `clone_from` impl and uses the trait default, which calls `clone`.

Fixes #28481
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src')
0 files changed, 0 insertions, 0 deletions