rustfmt
This commit is contained in:
parent
68b3fbe348
commit
d8821dd7d7
@ -316,8 +316,8 @@ 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