Formatting

This commit is contained in:
Mathias 2022-09-09 10:49:47 +02:00 committed by Dario Nieuwenhuis
parent f2239d34cc
commit d6af0f6286

View File

@ -544,7 +544,6 @@ mod eh1 {
self.blocking_flush().map_err(nb::Error::Other) self.blocking_flush().map_err(nb::Error::Other)
} }
} }
} }
#[cfg(all( #[cfg(all(
@ -607,7 +606,6 @@ mod buffered;
#[cfg(feature = "nightly")] #[cfg(feature = "nightly")]
pub use buffered::*; pub use buffered::*;
mod sealed { mod sealed {
use super::*; use super::*;
@ -649,7 +647,7 @@ macro_rules! impl_instance {
impl sealed::Instance for peripherals::$inst { impl sealed::Instance for peripherals::$inst {
const TX_DREQ: u8 = $tx_dreq; const TX_DREQ: u8 = $tx_dreq;
const RX_DREQ: u8 = $rx_dreq; const RX_DREQ: u8 = $rx_dreq;
type Interrupt = crate::interrupt::$irq; type Interrupt = crate::interrupt::$irq;
fn regs() -> pac::uart::Uart { fn regs() -> pac::uart::Uart {