Formatting

This commit is contained in:
Mathias 2022-09-09 10:49:47 +02:00
parent 31d85da78a
commit b2d0f8d590

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 {