diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2022-07-08 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2022-07-08 11:41:36 +0200 |
| commit | 9139a63b25e53722d7225cf373e4d713e0d5596f (patch) | |
| tree | 5e0fefc2c113a55e4de79e820dd786877834eefc /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | eba361ae36be41e42fb8fdf138455307e0ad407c (diff) | |
| download | rust-9139a63b25e53722d7225cf373e4d713e0d5596f.tar.gz rust-9139a63b25e53722d7225cf373e4d713e0d5596f.zip | |
Fix cloning from a BitSet with a different domain size
The previous implementation incorrectly assumed that the number of words in a bit set is equal to the domain size. The new implementation delegates to `Vec::clone_from` which is specialized for `Copy` elements.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
