@@ -11,20 +11,25 @@ declare_clippy_lint! {
11
11
///
12
12
/// This lint doesn't take into account non-text scripts such as `Unknown` and `Linear_A`.
13
13
/// It also ignores the `Common` script type.
14
- /// While configuring, be sure to use official script names from [the list of supported scripts][supported_scripts]
15
- /// and replace spaces with undescores .
14
+ /// While configuring, be sure to use official script name [aliases] from
15
+ /// [the list of supported scripts][supported_scripts] .
16
16
///
17
- /// For example, `Syloti Nagri` must be represented as `"Syloti_Nagri`".
17
+ /// Note that [`Katakana_Or_Hiragana`] alias is a special case that is no longer should be used. Use `Katakana` and
18
+ /// `Hiragana` individually, if you need them.
18
19
///
19
- /// See also: [`non_ascii_idents`](https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html#non-ascii-idents) .
20
+ /// See also: [`non_ascii_idents`].
20
21
///
21
- /// [supported_scripts]: http://www.unicode.org/standard/supported.html
22
+ /// [aliases]: http://www.unicode.org/reports/tr24/tr24-31.html#Script_Value_Aliases
23
+ /// [supported_scripts]: https://www.unicode.org/iso15924/iso15924-codes.html
24
+ /// [`Katakana_Or_Hiragana`]: https://unicode.org/reports/tr31/#Specific_Character_Adjustments
22
25
///
23
26
/// **Why is this bad?** It may be not desired to have many different scripts for
24
27
/// identifiers in the codebase.
25
28
///
26
29
/// Note that if you only want to allow plain English, you might want to use
27
- /// built-in `non_ascii_idents` lint instead.
30
+ /// built-in [`non_ascii_idents`] lint instead.
31
+ ///
32
+ /// [`non_ascii_idents`]: https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html#non-ascii-idents
28
33
///
29
34
/// **Known problems:** None.
30
35
///
0 commit comments