Skip to content

Commit

Permalink
Moves a clippy attribute (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored Mar 12, 2024
1 parent 2ddb50d commit 0763293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memory-management/src/aligned_memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>() {
Expand Down

0 comments on commit 0763293

Please sign in to comment.