From 6b0a16fc6e99fb4833b82851d0f07513c849fcd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Buga?= Date: Fri, 10 Nov 2023 13:48:14 +0100 Subject: [PATCH] Remove implementation of provided method (#921) --- esp-hal-common/src/uart.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/esp-hal-common/src/uart.rs b/esp-hal-common/src/uart.rs index a1f8130a540..c90993f3df0 100644 --- a/esp-hal-common/src/uart.rs +++ b/esp-hal-common/src/uart.rs @@ -1018,14 +1018,6 @@ where self.write_bytes(s.as_bytes())?; 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 core::fmt::Write for Uart<'_, T>