rust/compiler/rustc_index/src/bit_set
Tomasz Miąsko 9139a63b25 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.
2022-07-08 11:41:36 +02:00
..
tests.rs Fix cloning from a BitSet with a different domain size 2022-07-08 11:41:36 +02:00