Skip to content

Commit 982c81a

Browse files
authored
docs fix: unknown field allowed-locales
changelog: fix: Replace the nonexistent `allowed-locales` in the `DISALLOWED_SCRIPT_IDENTS` docs with `allowed-scripts`.
1 parent 00e9372 commit 982c81a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/disallowed_script_idents.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ declare_clippy_lint! {
3232
/// ### Example
3333
/// ```rust
3434
/// // Assuming that `clippy.toml` contains the following line:
35-
/// // allowed-locales = ["Latin", "Cyrillic"]
35+
/// // allowed-scripts = ["Latin", "Cyrillic"]
3636
/// let counter = 10; // OK, latin is allowed.
3737
/// let счётчик = 10; // OK, cyrillic is allowed.
3838
/// let zähler = 10; // OK, it's still latin.

0 commit comments

Comments
 (0)