From 4065bb2bada89b7c246ceff534f9bc110e9babeb Mon Sep 17 00:00:00 2001 From: Jonas mg Date: Fri, 10 Feb 2017 14:37:47 +0000 Subject: Update ser.rs --- src/ser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(value: &T) -> Result } /// 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. -- cgit v1.2.3