Remove implementation of provided method (#921)
This commit is contained in:
parent
bde317ee69
commit
6b0a16fc6e
@ -1018,14 +1018,6 @@ where
|
|||||||
self.write_bytes(s.as_bytes())?;
|
self.write_bytes(s.as_bytes())?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline]
|
|
||||||
fn write_char(&mut self, ch: char) -> Result<(), Self::Error> {
|
|
||||||
let mut buffer = [0u8; 4];
|
|
||||||
self.write_bytes(ch.encode_utf8(&mut buffer).as_bytes())?;
|
|
||||||
|
|
||||||
Ok(())
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<T> core::fmt::Write for Uart<'_, T>
|
impl<T> core::fmt::Write for Uart<'_, T>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user