Even more error cleanup
This commit is contained in:
parent
450b73a4d2
commit
2d57d0001b
|
@ -38,12 +38,6 @@ pub mod error {
|
|||
Dictionary,
|
||||
}
|
||||
|
||||
impl<D: Domain> serde::ser::Error for Error<D> {
|
||||
fn custom<T: std::fmt::Display>(msg: T) -> Self {
|
||||
Self::Message(msg.to_string())
|
||||
}
|
||||
}
|
||||
|
||||
impl<D: Domain> serde::de::Error for Error<D> {
|
||||
fn custom<T: std::fmt::Display>(msg: T) -> Self {
|
||||
Self::Message(msg.to_string())
|
||||
|
|
Loading…
Reference in New Issue