Update ser.rs

This commit is contained in:
Jonas mg 2017-02-10 14:37:47 +00:00 committed by GitHub
parent 07874c7f94
commit b5ec7d2c33

View file

@ -36,7 +36,7 @@ pub fn to_string<T: ?Sized>(value: &T) -> Result<String, Error>
} }
/// Errors that can occur when serializing a type. /// Errors that can occur when serializing a type.
#[derive(Debug, Clone)] #[derive(Debug, PartialEq, Eq, Clone)]
pub enum Error { pub enum Error {
/// Indicates that a Rust type was requested to be serialized but it was not /// Indicates that a Rust type was requested to be serialized but it was not
/// supported. /// supported.