diff --git a/sqlx-core/src/error.rs b/sqlx-core/src/error.rs index b731f4c9..1fa377d1 100644 --- a/sqlx-core/src/error.rs +++ b/sqlx-core/src/error.rs @@ -190,15 +190,3 @@ impl From for Error { Self::Network(error.into()) } } - -impl From for Error { - fn from(error: DecodeError) -> Self { - Self::Decode(error) - } -} - -impl From for Error { - fn from(error: EncodeError) -> Self { - Self::Encode(error) - } -}