mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Remove BitSet::to_hybrid
.
This commit is contained in:
parent
06faf589ac
commit
b7cf697a6d
@ -243,12 +243,6 @@ impl<T: Idx> BitSet<T> {
|
|||||||
BitIter::new(&self.words)
|
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
|
/// 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`).
|
/// least one bit that is not in `other` (i.e. `other` is not a superset of `self`).
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user