Skip to content

Commit

Permalink
chore: remove allow(clippy::disallowed_names)
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Nov 7, 2022
1 parent ee4dbf0 commit 6f52d0e
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion askama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ impl fmt::Display for dyn DynTemplate {
}

#[cfg(test)]
#[allow(clippy::disallowed_names)]
mod tests {
use std::fmt;

Expand Down
1 change: 0 additions & 1 deletion askama_derive/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down
2 changes: 0 additions & 2 deletions testing/tests/filters.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![allow(clippy::disallowed_names)]

#[cfg(feature = "serde-json")]
#[macro_use]
extern crate serde_json;
Expand Down
2 changes: 0 additions & 2 deletions testing/tests/matches.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![allow(clippy::disallowed_names)]

use askama::Template;

#[derive(Template)]
Expand Down
2 changes: 0 additions & 2 deletions testing/tests/operators.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![allow(clippy::disallowed_names)]

use askama::Template;

#[derive(Template)]
Expand Down
2 changes: 1 addition & 1 deletion testing/tests/simple.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![allow(clippy::disallowed_names)]
#![allow(clippy::disallowed_names)] // For the use of `foo` in test cases

use askama::Template;

Expand Down

0 comments on commit 6f52d0e

Please sign in to comment.