diff --git a/lib/entity/src/lib.rs b/lib/entity/src/lib.rs index 191a9c09e7..7d63eaee16 100644 --- a/lib/entity/src/lib.rs +++ b/lib/entity/src/lib.rs @@ -101,6 +101,7 @@ macro_rules! entity_impl { impl $entity { /// Return the underlying index value as a `u32`. + #[allow(dead_code)] pub fn as_u32(self) -> u32 { self.0 }