From 2bbd1ddb8a0e36e91a2b328024f313b780b1b851 Mon Sep 17 00:00:00 2001 From: Ulf Lilleengen Date: Thu, 16 Dec 2021 11:37:53 +0100 Subject: Remove unneeded rustfmt::skip --- embassy-lora/src/sx127x/mod.rs | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'embassy-lora/src') diff --git a/embassy-lora/src/sx127x/mod.rs b/embassy-lora/src/sx127x/mod.rs index 7d3280e05..c26628b0f 100644 --- a/embassy-lora/src/sx127x/mod.rs +++ b/embassy-lora/src/sx127x/mod.rs @@ -89,8 +89,15 @@ where { type PhyError = Sx127xError; - #[rustfmt::skip] - type TxFuture<'m> where SPI: 'm, CS: 'm, RESET: 'm, E: 'm, I: 'm, RFS: 'm = impl Future> + 'm; + type TxFuture<'m> + where + SPI: 'm, + CS: 'm, + RESET: 'm, + E: 'm, + I: 'm, + RFS: 'm, + = impl Future> + 'm; fn tx<'m>(&'m mut self, config: TxConfig, buf: &'m [u8]) -> Self::TxFuture<'m> { trace!("TX START"); @@ -130,8 +137,15 @@ where } } - #[rustfmt::skip] - type RxFuture<'m> where SPI: 'm, CS: 'm, RESET: 'm, E: 'm, I: 'm, RFS: 'm = impl Future> + 'm; + type RxFuture<'m> + where + SPI: 'm, + CS: 'm, + RESET: 'm, + E: 'm, + I: 'm, + RFS: 'm, + = impl Future> + 'm; fn rx<'m>(&'m mut self, config: RfConfig, buf: &'m mut [u8]) -> Self::RxFuture<'m> { trace!("RX START"); -- cgit