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:
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user