Skip to content

Commit

Permalink
fix: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
fireairforce committed Sep 27, 2024
1 parent cc4cb88 commit 1558d4e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -417,5 +417,5 @@ impl Rule for NoUselessFragments {
}

fn contains_html_entity(s: &str) -> bool {
s.contains("&") && s.contains(";")
s.contains('&') && s.contains(';')
}

0 comments on commit 1558d4e

Please sign in to comment.