Revert: Convert EspIOError back to EspError

This commit is contained in:
ivmarkov 2024-01-22 14:54:36 +00:00
parent ffd6666ce0
commit 46de65ae4c

View File

@ -21,12 +21,6 @@ impl From<EspError> for EspIOError {
}
}
impl From<EspIOError> for EspError {
fn from(e: EspIOError) -> Self {
Self(e.0)
}
}
impl Display for EspIOError {
fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result {
self.0.fmt(f)