From f1d6c95205b8f6253c6fe520e392bc14b2bca597 Mon Sep 17 00:00:00 2001 From: Grant Miller Date: Mon, 14 Mar 2022 18:22:41 -0500 Subject: [PATCH] rustfmt --- embassy-stm32/src/spi/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/embassy-stm32/src/spi/mod.rs b/embassy-stm32/src/spi/mod.rs index a7edcc0d..5271d941 100644 --- a/embassy-stm32/src/spi/mod.rs +++ b/embassy-stm32/src/spi/mod.rs @@ -412,7 +412,7 @@ impl<'d, T: Instance, Tx, Rx> Spi<'d, T, Tx, Rx> { Tx: TxDma, { if data.len() == 0 { - return Ok(()) + return Ok(()); } self.set_word_size(W::WORDSIZE); @@ -454,7 +454,7 @@ impl<'d, T: Instance, Tx, Rx> Spi<'d, T, Tx, Rx> { Rx: RxDma, { if data.len() == 0 { - return Ok(()) + return Ok(()); } self.set_word_size(W::WORDSIZE); @@ -509,7 +509,7 @@ impl<'d, T: Instance, Tx, Rx> Spi<'d, T, Tx, Rx> { assert_eq!(read.len(), write.len()); if read.len() == 0 { - return Ok(()) + return Ok(()); } self.set_word_size(W::WORDSIZE);