Skip to content

Commit c79922c

Browse files
committed
Tidy clippy lints
1 parent 7146759 commit c79922c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

examples/sdmmc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ fn main() -> ! {
4141
let gpiod = dp.GPIOD.split(ccdr.peripheral.GPIOD);
4242

4343
// STM32H747I-DISCO development board
44-
#[cfg(any(feature = "rm0399"))]
44+
#[cfg(feature = "rm0399")]
4545
let mut led = {
4646
let gpioi = dp.GPIOI.split(ccdr.peripheral.GPIOI);
4747

examples/usb_phy_serial_interrupt.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
//! This example is for RM0433/RM0399 parts. It has been tested on the Arduino
44
//! Portenta H7
55
#![deny(warnings)]
6+
#![allow(clippy::type_complexity)]
67
#![no_std]
78
#![no_main]
89

0 commit comments

Comments
 (0)