Use bitflags! consistently. (#680)

This removes an `extern crate` and a `use` so that we always
call it via `bitflags::bitflags!` everywhere.
This commit is contained in:
Bruce Mitchener
2024-07-12 22:00:24 +07:00
committed by GitHub
parent 01dd200152
commit 23c0c05a5b
3 changed files with 3 additions and 8 deletions

View File

@@ -75,9 +75,7 @@ impl Default for InteractionGroups {
}
}
use bitflags::bitflags;
bitflags! {
bitflags::bitflags! {
/// A bit mask identifying groups for interaction.
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
#[derive(Copy, Clone, PartialEq, Eq, Debug, Hash)]