aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf/src/buffered_uarte/v2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-nrf/src/buffered_uarte/v2.rs')
-rw-r--r--embassy-nrf/src/buffered_uarte/v2.rs8
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
53impl core::fmt::Display for Error {
54 fn fmt(&self, _f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
55 match *self {}
56 }
57}
58
59impl core::error::Error for Error {}
60
53impl State { 61impl State {
54 pub(crate) const fn new() -> Self { 62 pub(crate) const fn new() -> Self {
55 Self { 63 Self {