Fix clippy errors

This commit is contained in:
2025-02-24 15:02:44 +00:00
parent 03290e52a3
commit 8d57540566
15 changed files with 121 additions and 58 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ pub enum InterruptIndex {
}
impl InterruptIndex {
fn as_u8(self) -> u8 {
const fn as_u8(self) -> u8 {
self as u8
}