aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas mg <jonasmg@yepmail.net>2017-02-10 14:37:47 +0000
committerGitHub <noreply@github.com>2017-02-10 14:37:47 +0000
commit4065bb2bada89b7c246ceff534f9bc110e9babeb (patch)
treee78a56ec2be8d3f633d6af25526c71b0bf8da6b3
parentec4e821f3bb081391801e4c00aa90bf66a53562c (diff)
downloadmilf-rs-4065bb2bada89b7c246ceff534f9bc110e9babeb.tar.gz
milf-rs-4065bb2bada89b7c246ceff534f9bc110e9babeb.zip
Update ser.rs
-rw-r--r--src/ser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ser.rs b/src/ser.rs
index 0a557c2..7ca19f8 100644
--- a/src/ser.rs
+++ b/src/ser.rs
@@ -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.