From 3003d86264680433e789d2726d0d12d2c6267c40 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 30 Jan 2023 09:51:23 +0100 Subject: Apply clippy suggestions for 1.67 (#769) --- askama_mendes/tests/basic.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'askama_mendes/tests') 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 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}"), } } } -- cgit