File tree 1 file changed +8
-7
lines changed
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -11,20 +11,21 @@ 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
+ /// See also: [`non_ascii_idents`] .
18
18
///
19
- /// See also: [`non_ascii_idents`](https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html#non-ascii-idents).
20
- ///
21
- /// [supported_scripts]: http://www.unicode.org/standard/supported.html
19
+ /// [aliases]: http://www.unicode.org/reports/tr24/tr24-31.html#Script_Value_Aliases
20
+ /// [supported_scripts]: https://www.unicode.org/iso15924/iso15924-codes.html
22
21
///
23
22
/// **Why is this bad?** It may be not desired to have many different scripts for
24
23
/// identifiers in the codebase.
25
24
///
26
25
/// Note that if you only want to allow plain English, you might want to use
27
- /// built-in `non_ascii_idents` lint instead.
26
+ /// built-in [`non_ascii_idents`] lint instead.
27
+ ///
28
+ /// [`non_ascii_idents`]: https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html#non-ascii-idents
28
29
///
29
30
/// **Known problems:** None.
30
31
///
You can’t perform that action at this time.
0 commit comments