Update ser.rs
This commit is contained in:
parent
07874c7f94
commit
b5ec7d2c33
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue