Merge pull request #26 from mikedilger/encoding_error_derive
Derive Clone,PartialEq for EncodingError
This commit is contained in:
commit
97f2a6ad3d
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in New Issue