clippy: fix clippy warnings

This commit is contained in:
2026-05-25 20:11:58 +02:00
parent 7078af5713
commit 7679fa09dc
11 changed files with 48 additions and 58 deletions

View File

@@ -2,7 +2,7 @@ macro_rules! mk_static {
($t:ty,$val:expr) => {{
static STATIC_CELL: static_cell::StaticCell<$t> = static_cell::StaticCell::new();
#[deny(unused_attributes)]
let x = STATIC_CELL.uninit().write(($val));
let x = STATIC_CELL.uninit().write($val);
x
}};
}