Even more error cleanup

This commit is contained in:
Tony Garnock-Jones 2020-05-25 16:21:18 +02:00
parent 450b73a4d2
commit 2d57d0001b
1 changed files with 0 additions and 6 deletions

View File

@ -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())