Moves a clippy attribute (#194)

This commit is contained in:
Brooks 2024-03-12 07:46:23 -04:00 committed by GHA: Update Upstream From Fork
parent 1ffdca5773
commit 6548d92bb5
1 changed files with 1 additions and 1 deletions

View File

@ -207,8 +207,8 @@ impl<const ALIGN: usize, T: AsRef<[u8]>> From<T> for AlignedMemory<ALIGN> {
}
#[cfg(test)]
#[allow(clippy::arithmetic_side_effects)]
mod tests {
#![allow(clippy::arithmetic_side_effects)]
use {super::*, std::io::Write};
fn do_test<const ALIGN: usize>() {