Skip to content

Commit

Permalink
Moves a clippy attribute (solana-labs#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored and willhickey committed Mar 16, 2024
1 parent 1ffdca5 commit 6548d92
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 6548d92

Please sign in to comment.