Skip to content

Commit 0763293

Browse files
authored
Moves a clippy attribute (anza-xyz#194)
1 parent 2ddb50d commit 0763293

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

memory-management/src/aligned_memory.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ impl<const ALIGN: usize, T: AsRef<[u8]>> From<T> for AlignedMemory<ALIGN> {
207207
}
208208

209209
#[cfg(test)]
210+
#[allow(clippy::arithmetic_side_effects)]
210211
mod tests {
211-
#![allow(clippy::arithmetic_side_effects)]
212212
use {super::*, std::io::Write};
213213

214214
fn do_test<const ALIGN: usize>() {

0 commit comments

Comments
 (0)