Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Feb 21, 2025
1 parent 4f0e71e commit 2080316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/jsx_curly_braces.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub struct JSXCurlyBraces;

const CODE: &str = "jsx-curly-braces";

const IGNORE_CHARS: Lazy<Regex> = Lazy::new(|| Regex::new(r"[{}<>]").unwrap());
static IGNORE_CHARS: Lazy<Regex> = Lazy::new(|| Regex::new(r"[{}<>]").unwrap());

impl LintRule for JSXCurlyBraces {
fn tags(&self) -> Tags {
Expand Down

0 comments on commit 2080316

Please sign in to comment.