We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd56381 commit 874de88Copy full SHA for 874de88
clippy_lints/src/unicode.rs
@@ -34,7 +34,11 @@ declare_clippy_lint! {
34
///
35
/// **Example:**
36
/// ```rust
37
- /// let x = "Hä?"
+ /// let x = String::from("€");
38
+ /// ```
39
+ /// Could be written as:
40
+ /// ```rust
41
+ /// let x = String::from("\u{20ac}");
42
/// ```
43
pub NON_ASCII_LITERAL,
44
pedantic,
0 commit comments