Skip to content

Commit cb0ea8a

Browse files
authored
New Rust, new clippy warning (#60)
1 parent d317c61 commit cb0ea8a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/rcc/reset_reason.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ impl Display for ResetReason {
9494
}
9595
ResetReason::Unknown { rcc_rsr } => write!(
9696
f,
97-
"Could not determine the cause. RCC RSR bits were 0x{:X}",
98-
rcc_rsr
97+
"Could not determine the cause. RCC RSR bits were 0x{rcc_rsr:X}",
9998
),
10099
}
101100
}

0 commit comments

Comments
 (0)