diff options
Diffstat (limited to '')
-rw-r--r-- | askama_shared/src/error.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/askama_shared/src/error.rs b/askama_shared/src/error.rs index a6dc099..4394eea 100644 --- a/askama_shared/src/error.rs +++ b/askama_shared/src/error.rs @@ -45,7 +45,6 @@ impl std::error::Error for Error { Error::Json(ref err) => err.source(), #[cfg(feature = "serde_yaml")] Error::Yaml(ref err) => err.source(), - _ => None, } } } @@ -58,7 +57,6 @@ impl Display for Error { Error::Json(ref err) => write!(formatter, "json conversion error: {}", err), #[cfg(feature = "serde_yaml")] Error::Yaml(ref err) => write!(formatter, "yaml conversion error: {}", err), - _ => write!(formatter, "unknown error: __Nonexhaustive"), } } } |