aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2022-11-07 09:51:56 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2022-11-07 11:14:43 +0100
commit6f52d0eef5a3178e1ebf7d4c7e2cf397756f57eb (patch)
tree3a85bc61b92c76cc506597213f242ae6df8d39dd /testing/tests
parentee4dbf0d8d7c81a3d77fa5b87a60152291e70fc7 (diff)
downloadaskama-6f52d0eef5a3178e1ebf7d4c7e2cf397756f57eb.tar.gz
askama-6f52d0eef5a3178e1ebf7d4c7e2cf397756f57eb.tar.bz2
askama-6f52d0eef5a3178e1ebf7d4c7e2cf397756f57eb.zip
chore: remove allow(clippy::disallowed_names)
Diffstat (limited to '')
-rw-r--r--testing/tests/filters.rs2
-rw-r--r--testing/tests/matches.rs2
-rw-r--r--testing/tests/operators.rs2
-rw-r--r--testing/tests/simple.rs2
4 files changed, 1 insertions, 7 deletions
diff --git a/testing/tests/filters.rs b/testing/tests/filters.rs
index b171e49..5229ecd 100644
--- a/testing/tests/filters.rs
+++ b/testing/tests/filters.rs
@@ -1,5 +1,3 @@
-#![allow(clippy::disallowed_names)]
-
#[cfg(feature = "serde-json")]
#[macro_use]
extern crate serde_json;
diff --git a/testing/tests/matches.rs b/testing/tests/matches.rs
index 05fd03b..f5ccb95 100644
--- a/testing/tests/matches.rs
+++ b/testing/tests/matches.rs
@@ -1,5 +1,3 @@
-#![allow(clippy::disallowed_names)]
-
use askama::Template;
#[derive(Template)]
diff --git a/testing/tests/operators.rs b/testing/tests/operators.rs
index a63efbe..482c9c6 100644
--- a/testing/tests/operators.rs
+++ b/testing/tests/operators.rs
@@ -1,5 +1,3 @@
-#![allow(clippy::disallowed_names)]
-
use askama::Template;
#[derive(Template)]
diff --git a/testing/tests/simple.rs b/testing/tests/simple.rs
index 44439c5..ebc8267 100644
--- a/testing/tests/simple.rs
+++ b/testing/tests/simple.rs
@@ -1,4 +1,4 @@
-#![allow(clippy::disallowed_names)]
+#![allow(clippy::disallowed_names)] // For the use of `foo` in test cases
use askama::Template;