diff options
| author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2024-07-12 22:00:24 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-12 17:00:24 +0200 |
| commit | 23c0c05a5bfb1bc95efa974204c9521aba97186c (patch) | |
| tree | 8a9488e5141e546f114d876d4a4068d4899b03e3 /src/geometry | |
| parent | 01dd2001525850ef0d66374c69e98e1560cb6421 (diff) | |
| download | rapier-23c0c05a5bfb1bc95efa974204c9521aba97186c.tar.gz rapier-23c0c05a5bfb1bc95efa974204c9521aba97186c.tar.bz2 rapier-23c0c05a5bfb1bc95efa974204c9521aba97186c.zip | |
Use `bitflags!` consistently. (#680)
This removes an `extern crate` and a `use` so that we always
call it via `bitflags::bitflags!` everywhere.
Diffstat (limited to 'src/geometry')
| -rw-r--r-- | src/geometry/interaction_groups.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/geometry/interaction_groups.rs b/src/geometry/interaction_groups.rs index f61de1a..10ba783 100644 --- a/src/geometry/interaction_groups.rs +++ b/src/geometry/interaction_groups.rs @@ -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)] |
