diff --git a/src/agent/oci/src/serialize.rs b/src/agent/oci/src/serialize.rs index 95466c47d5..891ecd5553 100644 --- a/src/agent/oci/src/serialize.rs +++ b/src/agent/oci/src/serialize.rs @@ -29,13 +29,6 @@ impl Display for Error { } impl error::Error for Error { - fn description(&self) -> &str { - match *self { - Error::Io(ref e) => e.description(), - Error::Json(ref e) => e.description(), - } - } - fn cause(&self) -> Option<&dyn error::Error> { match *self { Error::Io(ref e) => Some(e),