diff options
| author | bors <bors@rust-lang.org> | 2020-12-27 04:14:20 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-12-27 04:14:20 +0000 |
| commit | 0f42d47bd5352028fe297f5e759b7e3763d55cbb (patch) | |
| tree | 210c230bc984abd71515fa5638464810809eb8b0 /compiler/rustc_codegen_cranelift/src | |
| parent | 7e0246552facb87995fb2ee6b211b9ffd05b4c62 (diff) | |
| parent | 7adeb710fbb1cc27e4c098c3dbdf249f59e16065 (diff) | |
| download | rust-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
