diff options
Diffstat (limited to 'embassy-nrf/src/buffered_uarte/v2.rs')
| -rw-r--r-- | embassy-nrf/src/buffered_uarte/v2.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/embassy-nrf/src/buffered_uarte/v2.rs b/embassy-nrf/src/buffered_uarte/v2.rs index d0d2d97d1..4a6360b69 100644 --- a/embassy-nrf/src/buffered_uarte/v2.rs +++ b/embassy-nrf/src/buffered_uarte/v2.rs | |||
| @@ -50,6 +50,14 @@ pub enum Error { | |||
| 50 | // No errors for now | 50 | // No errors for now |
| 51 | } | 51 | } |
| 52 | 52 | ||
| 53 | impl core::fmt::Display for Error { | ||
| 54 | fn fmt(&self, _f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { | ||
| 55 | match *self {} | ||
| 56 | } | ||
| 57 | } | ||
| 58 | |||
| 59 | impl core::error::Error for Error {} | ||
| 60 | |||
| 53 | impl State { | 61 | impl State { |
| 54 | pub(crate) const fn new() -> Self { | 62 | pub(crate) const fn new() -> Self { |
| 55 | Self { | 63 | Self { |
