diff options
Diffstat (limited to '')
-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; |