docs fix: unknown field allowed-locales
changelog: fix: Replace the nonexistent `allowed-locales` in the `DISALLOWED_SCRIPT_IDENTS` docs with `allowed-scripts`.
This commit is contained in:
parent
00e9372987
commit
982c81ad28
@ -32,7 +32,7 @@ declare_clippy_lint! {
|
||||
/// ### Example
|
||||
/// ```rust
|
||||
/// // Assuming that `clippy.toml` contains the following line:
|
||||
/// // allowed-locales = ["Latin", "Cyrillic"]
|
||||
/// // allowed-scripts = ["Latin", "Cyrillic"]
|
||||
/// let counter = 10; // OK, latin is allowed.
|
||||
/// let счётчик = 10; // OK, cyrillic is allowed.
|
||||
/// let zähler = 10; // OK, it's still latin.
|
||||
|
Loading…
x
Reference in New Issue
Block a user