Skip to content

Commit 636c01b

Browse files
committed
re-enabled const
1 parent 5224669 commit 636c01b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/geometry/interaction_groups.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ impl InteractionGroups {
105105
///
106106
/// See [`InteractionTestMode`] for more info.
107107
#[inline]
108-
pub fn test(self, rhs: Self) -> bool {
108+
pub const fn test(self, rhs: Self) -> bool {
109109
match (self.test_mode, rhs.test_mode) {
110110
(InteractionTestMode::And, _) => self.test_and(rhs),
111111
(InteractionTestMode::Or, InteractionTestMode::And) => self.test_and(rhs),

0 commit comments

Comments
 (0)