correct "Affected lints" for allow-one-hash-in-raw-strings

This commit is contained in:
lapla-cogito 2025-02-10 20:13:21 +09:00
parent 8c01600e23
commit 749eb371bf
No known key found for this signature in database
GPG key ID: B39C71D9F127FF9F
2 changed files with 2 additions and 2 deletions

View file

@ -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`

View file

@ -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)]