mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-30 13:50:37 +00:00
rustfmt
This commit is contained in:
parent
68b3fbe348
commit
d8821dd7d7
@ -317,7 +317,7 @@ impl<'d, T: Instance> BufferedUartRx<'d, T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// we are ready to read if there is data in the buffer
|
/// we are ready to read if there is data in the buffer
|
||||||
fn read_ready() -> Result<bool, Error>{
|
fn read_ready() -> Result<bool, Error> {
|
||||||
let state = T::buffered_state();
|
let state = T::buffered_state();
|
||||||
Ok(!state.rx_buf.is_empty())
|
Ok(!state.rx_buf.is_empty())
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user