Derive Clone,PartialEq for EncodingError

This commit is contained in:
Mike Dilger 2015-03-26 15:55:03 +13:00
parent 1bbd5377e3
commit fcc64883b6
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ pub type EncodingResult<T> = Result<T, EncodingError>;
/// 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),