From fcc64883b6f9b893294cb2db0eabe3f93bbcf67e Mon Sep 17 00:00:00 2001 From: Mike Dilger Date: Thu, 26 Mar 2015 15:55:03 +1300 Subject: [PATCH] Derive Clone,PartialEq for EncodingError --- src/writer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),