diff options
Diffstat (limited to '')
-rw-r--r-- | askama_mendes/tests/basic.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/askama_mendes/tests/basic.rs b/askama_mendes/tests/basic.rs index c9ef810..6ab1d6d 100644 --- a/askama_mendes/tests/basic.rs +++ b/askama_mendes/tests/basic.rs @@ -71,8 +71,8 @@ impl From<mendes::Error> for Error { impl std::fmt::Display for Error { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { match self { - Error::Askama(e) => write!(f, "{}", e), - Error::Mendes(e) => write!(f, "{}", e), + Error::Askama(e) => write!(f, "{e}"), + Error::Mendes(e) => write!(f, "{e}"), } } } |