Skip to content

Commit b7cf697

Browse files
committed
Remove BitSet::to_hybrid.
1 parent 06faf58 commit b7cf697

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

compiler/rustc_index/src/bit_set.rs

-6
Original file line numberDiff line numberDiff line change
@@ -243,12 +243,6 @@ impl<T: Idx> BitSet<T> {
243243
BitIter::new(&self.words)
244244
}
245245

246-
/// Duplicates the set as a hybrid set.
247-
pub fn to_hybrid(&self) -> HybridBitSet<T> {
248-
// Note: we currently don't bother trying to make a Sparse set.
249-
HybridBitSet::Dense(self.to_owned())
250-
}
251-
252246
/// Set `self = self | other`. In contrast to `union` returns `true` if the set contains at
253247
/// least one bit that is not in `other` (i.e. `other` is not a superset of `self`).
254248
///

0 commit comments

Comments
 (0)