diff options
| author | lapla-cogito <me@lapla.dev> | 2025-02-10 20:13:21 +0900 |
|---|---|---|
| committer | lapla-cogito <me@lapla.dev> | 2025-02-10 20:20:27 +0900 |
| commit | 749eb371bf498224a03541980d4635db232c71b4 (patch) | |
| tree | ddf47be97e90df7c91f7e94175110c94ec9be74e | |
| parent | 8c01600e23f42ddbee2402e4e8e839a37b92ce3b (diff) | |
| download | rust-749eb371bf498224a03541980d4635db232c71b4.tar.gz rust-749eb371bf498224a03541980d4635db232c71b4.zip | |
correct "Affected lints" for `allow-one-hash-in-raw-strings`
| -rw-r--r-- | book/src/lint_configuration.md | 2 | ||||
| -rw-r--r-- | clippy_config/src/conf.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/book/src/lint_configuration.md b/book/src/lint_configuration.md index 6803a1db2bb..f43c3a28072 100644 --- a/book/src/lint_configuration.md +++ b/book/src/lint_configuration.md @@ -108,7 +108,7 @@ Whether to allow `r#""#` when `r""` can be used --- **Affected lints:** -* [`unnecessary_raw_string_hashes`](https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_raw_string_hashes) +* [`needless_raw_string_hashes`](https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes) ## `allow-panic-in-tests` diff --git a/clippy_config/src/conf.rs b/clippy_config/src/conf.rs index 10a17da1517..28e42c67d98 100644 --- a/clippy_config/src/conf.rs +++ b/clippy_config/src/conf.rs @@ -298,7 +298,7 @@ define_Conf! { #[lints(uninlined_format_args)] allow_mixed_uninlined_format_args: bool = true, /// Whether to allow `r#""#` when `r""` can be used - #[lints(unnecessary_raw_string_hashes)] + #[lints(needless_raw_string_hashes)] allow_one_hash_in_raw_strings: bool = false, /// Whether `panic` should be allowed in test functions or `#[cfg(test)]` #[lints(panic)] |
