Skip to content

Commit ed6c15a

Browse files
committed
Auto merge of #10541 - FixedThink:patch-1, r=llogiq
docs fix: unknown field `allowed-locales` changelog: [`DISALLOWED_SCRIPT_IDENTS`]: Replace the nonexistent `allowed-locales` in the docs with `allowed-scripts`.
2 parents 00e9372 + 982c81a commit ed6c15a

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)