Remove attributes ignored by rustfmt.

pull/54/head
Andre Richter 4 years ago
parent 1337092a2a
commit ed5cada47e
No known key found for this signature in database
GPG Key ID: 2116C1AB102F615E

@ -2161,13 +2161,9 @@ diff -uNr 13_integrated_testing/src/bsp/device_driver/bcm/bcm2xxx_pl011_uart.rs
diff -uNr 13_integrated_testing/src/bsp/device_driver/bcm.rs 14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/bcm.rs
--- 13_integrated_testing/src/bsp/device_driver/bcm.rs
+++ 14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver/bcm.rs
@@ -4,8 +4,15 @@
@@ -5,7 +5,11 @@
//! BCM driver top level.
+#![allow(unused_attributes)]
+#![rustfmt::skip]
+
mod bcm2xxx_gpio;
+#[cfg(feature = "bsp_rpi3")]
+mod bcm2xxx_interrupt_controller;
@ -2221,13 +2217,10 @@ diff -uNr 13_integrated_testing/src/bsp/device_driver/common.rs 14_exceptions_pa
diff -uNr 13_integrated_testing/src/bsp/device_driver.rs 14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver.rs
--- 13_integrated_testing/src/bsp/device_driver.rs
+++ 14_exceptions_part2_peripheral_IRQs/src/bsp/device_driver.rs
@@ -4,8 +4,16 @@
@@ -4,8 +4,13 @@
//! Device driver.
+#![allow(unused_attributes)]
+#![rustfmt::skip]
+
+#[cfg(feature = "bsp_rpi4")]
+mod arm;
#[cfg(any(feature = "bsp_rpi3", feature = "bsp_rpi4"))]

@ -4,9 +4,6 @@
//! Device driver.
#![allow(unused_attributes)]
#![rustfmt::skip]
#[cfg(feature = "bsp_rpi4")]
mod arm;
#[cfg(any(feature = "bsp_rpi3", feature = "bsp_rpi4"))]

@ -4,9 +4,6 @@
//! BCM driver top level.
#![allow(unused_attributes)]
#![rustfmt::skip]
mod bcm2xxx_gpio;
#[cfg(feature = "bsp_rpi3")]
mod bcm2xxx_interrupt_controller;

Loading…
Cancel
Save