diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2022-11-07 09:51:56 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2022-11-07 11:14:43 +0100 |
commit | 6f52d0eef5a3178e1ebf7d4c7e2cf397756f57eb (patch) | |
tree | 3a85bc61b92c76cc506597213f242ae6df8d39dd | |
parent | ee4dbf0d8d7c81a3d77fa5b87a60152291e70fc7 (diff) | |
download | askama-6f52d0eef5a3178e1ebf7d4c7e2cf397756f57eb.tar.gz askama-6f52d0eef5a3178e1ebf7d4c7e2cf397756f57eb.tar.bz2 askama-6f52d0eef5a3178e1ebf7d4c7e2cf397756f57eb.zip |
chore: remove allow(clippy::disallowed_names)
-rw-r--r-- | askama/src/lib.rs | 1 | ||||
-rw-r--r-- | askama_derive/src/config.rs | 1 | ||||
-rw-r--r-- | testing/tests/filters.rs | 2 | ||||
-rw-r--r-- | testing/tests/matches.rs | 2 | ||||
-rw-r--r-- | testing/tests/operators.rs | 2 | ||||
-rw-r--r-- | testing/tests/simple.rs | 2 |
6 files changed, 1 insertions, 9 deletions
diff --git a/askama/src/lib.rs b/askama/src/lib.rs index 29a64b4..91cf62e 100644 --- a/askama/src/lib.rs +++ b/askama/src/lib.rs @@ -163,7 +163,6 @@ impl fmt::Display for dyn DynTemplate { } #[cfg(test)] -#[allow(clippy::disallowed_names)] mod tests { use std::fmt; diff --git a/askama_derive/src/config.rs b/askama_derive/src/config.rs index 2e71ba2..cb0126c 100644 --- a/askama_derive/src/config.rs +++ b/askama_derive/src/config.rs @@ -300,7 +300,6 @@ static DEFAULT_ESCAPERS: &[(&[&str], &str)] = &[ ]; #[cfg(test)] -#[allow(clippy::disallowed_names)] mod tests { use std::env; use std::path::{Path, PathBuf}; 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; |