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_escape/Cargo.toml | 3 ++- askama_escape/src/lib.rs | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'askama_escape') diff --git a/askama_escape/Cargo.toml b/askama_escape/Cargo.toml index 9af4b72..1521a69 100644 --- a/askama_escape/Cargo.toml +++ b/askama_escape/Cargo.toml @@ -9,7 +9,8 @@ repository = "https://github.com/djc/askama" license = "MIT OR Apache-2.0" workspace = ".." readme = "README.md" -edition = "2018" +edition = "2021" +rust-version = "1.58" [badges] maintenance = { status = "actively-developed" } 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), } -- cgit