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