Skip to content

Commit

Permalink
Move non_ascii_literal to restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexendoo committed Oct 31, 2021
1 parent 310ecb0 commit 76b4450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/unicode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ declare_clippy_lint! {
/// let x = String::from("\u{20ac}");
/// ```
pub NON_ASCII_LITERAL,
pedantic,
restriction,
"using any literal non-ASCII chars in a string literal instead of using the `\\u` escape"
}

Expand Down

0 comments on commit 76b4450

Please sign in to comment.