We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MixedBitSet::clear
1 parent f23a80a commit ef96965Copy full SHA for ef96965
compiler/rustc_index/src/bit_set.rs
@@ -1191,6 +1191,14 @@ impl<T: Idx> MixedBitSet<T> {
1191
}
1192
1193
1194
+ #[inline]
1195
+ pub fn clear(&mut self) {
1196
+ match self {
1197
+ MixedBitSet::Small(set) => set.clear(),
1198
+ MixedBitSet::Large(set) => set.clear(),
1199
+ }
1200
1201
+
1202
bit_relations_inherent_impls! {}
1203
1204
0 commit comments