We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
clippy::uninlined_format_args
1 parent 5872c7c commit eda44f6Copy full SHA for eda44f6
src/r3_support_rza1/src/gpio.rs
@@ -40,8 +40,8 @@ unsafe fn clear_bit16(reg: *mut u16, bit: u8) {
40
41
#[inline]
42
fn panic_if_pin_is_invalid((n, m): Pin) {
43
- assert!(n >= 1 && n < 12, "1 <= {} < 12", n);
44
- assert!(m < 16, "0 <= {} < 16", m);
+ assert!(n >= 1 && n < 12, "1 <= {n} < 12");
+ assert!(m < 16, "0 <= {m} < 16");
45
}
46
47
impl GpioExt for rza1::gpio::RegisterBlock {
0 commit comments