diff options
author | Alex Crichton <alex@alexcrichton.com> | 2017-02-10 15:09:34 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-10 15:09:34 -0600 |
commit | f4f0c2ca7bdc0d04d3c4947d30a2cbfbfd024e16 (patch) | |
tree | e78a56ec2be8d3f633d6af25526c71b0bf8da6b3 | |
parent | ec4e821f3bb081391801e4c00aa90bf66a53562c (diff) | |
parent | 4065bb2bada89b7c246ceff534f9bc110e9babeb (diff) | |
download | milf-rs-f4f0c2ca7bdc0d04d3c4947d30a2cbfbfd024e16.tar.gz milf-rs-f4f0c2ca7bdc0d04d3c4947d30a2cbfbfd024e16.zip |
Merge pull request #144 from tredoe/patch-1
Add Eq trait in main error
-rw-r--r-- | src/ser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ pub fn to_string<T: ?Sized>(value: &T) -> Result<String, Error> } /// Errors that can occur when serializing a type. -#[derive(Debug, Clone)] +#[derive(Debug, PartialEq, Eq, Clone)] pub enum Error { /// Indicates that a Rust type was requested to be serialized but it was not /// supported. |