diff --git a/src/spec.rs b/src/spec.rs index d4c61113..0aaf00e9 100644 --- a/src/spec.rs +++ b/src/spec.rs @@ -534,7 +534,7 @@ impl Zip64CentralDirectoryEnd { const END_WINDOW_SIZE: usize = 2048; /* TODO: use static_assertions!() */ - assert!(END_WINDOW_SIZE > mem::size_of::()); + debug_assert!(END_WINDOW_SIZE > mem::size_of::()); const SIG_BYTES: [u8; mem::size_of::()] = Magic::ZIP64_CENTRAL_DIRECTORY_END_SIGNATURE.to_le_bytes();