diff --git a/memory-management/src/aligned_memory.rs b/memory-management/src/aligned_memory.rs index 689daaaed5e6aa..e5c203064414dc 100644 --- a/memory-management/src/aligned_memory.rs +++ b/memory-management/src/aligned_memory.rs @@ -207,8 +207,8 @@ impl> From for AlignedMemory { } #[cfg(test)] +#[allow(clippy::arithmetic_side_effects)] mod tests { - #![allow(clippy::arithmetic_side_effects)] use {super::*, std::io::Write}; fn do_test() {