aboutsummaryrefslogtreecommitdiffstats
path: root/askama_escape/src
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2023-01-30 09:51:23 +0100
committerLibravatar GitHub <noreply@github.com>2023-01-30 09:51:23 +0100
commit3003d86264680433e789d2726d0d12d2c6267c40 (patch)
treec7e74c13df73d05ec75ee8feec6416733e1de141 /askama_escape/src
parent23326b4765b04cb13dd6c72f2103ff9bd6d44d7d (diff)
downloadaskama-3003d86264680433e789d2726d0d12d2c6267c40.tar.gz
askama-3003d86264680433e789d2726d0d12d2c6267c40.tar.bz2
askama-3003d86264680433e789d2726d0d12d2c6267c40.zip
Apply clippy suggestions for 1.67 (#769)
Diffstat (limited to 'askama_escape/src')
-rw-r--r--askama_escape/src/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/askama_escape/src/lib.rs b/askama_escape/src/lib.rs
index 8e57906..c388f2d 100644
--- a/askama_escape/src/lib.rs
+++ b/askama_escape/src/lib.rs
@@ -56,8 +56,7 @@ where
fmt,
escaper: &self.escaper
},
- "{}",
- t
+ "{t}"
),
DisplayValue::Safe(ref t) => t.fmt(fmt),
}