diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-11-13 16:26:26 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-11-13 16:26:26 +1100 |
| commit | b7cf697a6d47fff7e81e44895c3ffe565ebe0e07 (patch) | |
| tree | 88d0943cd9fdb9819045f7075bf63558e915975a | |
| parent | 06faf589acda706f9fa556d2cbeba50f99e6c34c (diff) | |
| download | rust-b7cf697a6d47fff7e81e44895c3ffe565ebe0e07.tar.gz rust-b7cf697a6d47fff7e81e44895c3ffe565ebe0e07.zip | |
Remove `BitSet::to_hybrid`.
| -rw-r--r-- | compiler/rustc_index/src/bit_set.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_index/src/bit_set.rs b/compiler/rustc_index/src/bit_set.rs index af8a53a991f..d0ce5678b96 100644 --- a/compiler/rustc_index/src/bit_set.rs +++ b/compiler/rustc_index/src/bit_set.rs @@ -243,12 +243,6 @@ impl<T: Idx> BitSet<T> { BitIter::new(&self.words) } - /// Duplicates the set as a hybrid set. - pub fn to_hybrid(&self) -> HybridBitSet<T> { - // Note: we currently don't bother trying to make a Sparse set. - HybridBitSet::Dense(self.to_owned()) - } - /// Set `self = self | other`. In contrast to `union` returns `true` if the set contains at /// least one bit that is not in `other` (i.e. `other` is not a superset of `self`). /// |
