diff --git a/src/writer.rs b/src/writer.rs index 763d3c3..e21052e 100644 --- a/src/writer.rs +++ b/src/writer.rs @@ -14,7 +14,7 @@ pub type EncodingResult = Result; /// An error that can be produced during encoding. -#[derive(Debug)] +#[derive(Debug,Clone,PartialEq)] pub enum EncodingError { /// An error originating from the underlying `Writer`. IoError(IoError),