add MixedBitSet::clear
This commit is contained in:
parent
f23a80a4c2
commit
ef96965f44
1 changed files with 8 additions and 0 deletions
|
@ -1191,6 +1191,14 @@ impl<T: Idx> MixedBitSet<T> {
|
|||
}
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn clear(&mut self) {
|
||||
match self {
|
||||
MixedBitSet::Small(set) => set.clear(),
|
||||
MixedBitSet::Large(set) => set.clear(),
|
||||
}
|
||||
}
|
||||
|
||||
bit_relations_inherent_impls! {}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue