diff --git a/scylla-cql/src/errors.rs b/scylla-cql/src/errors.rs index d77bcb4c7a..80f08a96ba 100644 --- a/scylla-cql/src/errors.rs +++ b/scylla-cql/src/errors.rs @@ -621,12 +621,6 @@ impl std::fmt::Display for WriteType { } } -impl From for QueryError { - fn from(io_error: std::io::Error) -> QueryError { - QueryError::IoError(Arc::new(io_error)) - } -} - impl From for QueryError { fn from(serialized_err: SerializeValuesError) -> QueryError { QueryError::BadQuery(BadQuery::SerializeValuesError(serialized_err))