From d8821dd7d78223552af38781054b8d9c6a9a25bb Mon Sep 17 00:00:00 2001 From: rafael Date: Wed, 10 Jul 2024 22:56:12 +0200 Subject: [PATCH] rustfmt --- embassy-rp/src/uart/buffered.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/embassy-rp/src/uart/buffered.rs b/embassy-rp/src/uart/buffered.rs index 36a11279e..cfbd82ccf 100644 --- a/embassy-rp/src/uart/buffered.rs +++ b/embassy-rp/src/uart/buffered.rs @@ -316,8 +316,8 @@ impl<'d, T: Instance> BufferedUartRx<'d, T> { }); } - /// we are ready to read if there is data in the buffer - fn read_ready() -> Result{ + /// we are ready to read if there is data in the buffer + fn read_ready() -> Result { let state = T::buffered_state(); Ok(!state.rx_buf.is_empty()) }