Skip to content

Commit

Permalink
Auto merge of rust-lang#11415 - Alexendoo:needless-raw-string-hashes-…
Browse files Browse the repository at this point in the history
…pedantic, r=flip1995

Move `needless_raw_string_hashes` to `pedantic`

IMO it doesn't improve code enough to be warn by default. [It seems to be unclear to some also](rust-lang/rust-clippy#11402), but that can probably be remedied separately

changelog: Moved [`needless_raw_string_hashes`] to `pedantic` (Now allow-by-default)
[rust-lang#11415](rust-lang/rust-clippy#11415)

r? `@flip1995`
  • Loading branch information
bors committed Sep 28, 2023
2 parents 124f1b0 + 1c77b0b commit 29ed6fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/raw_strings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ declare_clippy_lint! {
/// ```
#[clippy::version = "1.72.0"]
pub NEEDLESS_RAW_STRING_HASHES,
style,
pedantic,
"suggests reducing the number of hashes around a raw string literal"
}
impl_lint_pass!(RawStrings => [NEEDLESS_RAW_STRINGS, NEEDLESS_RAW_STRING_HASHES]);
Expand Down

0 comments on commit 29ed6fa

Please sign in to comment.