We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8092e2c commit 06738bfCopy full SHA for 06738bf
crates/bevy_ecs/src/storage/table.rs
@@ -56,7 +56,7 @@ impl TableId {
56
/// Will panic if the provided value does not fit within a [`u32`].
57
#[inline]
58
pub const fn from_usize(index: usize) -> Self {
59
- assert!(index as u32 as usize == index);
+ debug_assert!(index as u32 as usize == index);
60
Self(index as u32)
61
}
62
@@ -116,7 +116,7 @@ impl TableRow {
116
117
118
119
120
121
122
0 commit comments