Skip to content

Commit 59826d4

Browse files
fix: Eliminate duplicate definitions (#461)
1 parent 9c01814 commit 59826d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ impl Action {
346346
1 << (self as u8)
347347
}
348348

349+
#[cfg(not(feature = "enumn"))]
349350
fn n(value: u8) -> Option<Self> {
350351
// Manually implement something similar to the enumn crate. We don't
351352
// want to bring this crate by default though and we can't use a

0 commit comments

Comments
 (0)