Skip to content

Commit 29ed6fa

Browse files
committed
Auto merge of rust-lang#11415 - Alexendoo:needless-raw-string-hashes-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`
2 parents 124f1b0 + 1c77b0b commit 29ed6fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/raw_strings.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ declare_clippy_lint! {
5050
/// ```
5151
#[clippy::version = "1.72.0"]
5252
pub NEEDLESS_RAW_STRING_HASHES,
53-
style,
53+
pedantic,
5454
"suggests reducing the number of hashes around a raw string literal"
5555
}
5656
impl_lint_pass!(RawStrings => [NEEDLESS_RAW_STRINGS, NEEDLESS_RAW_STRING_HASHES]);

0 commit comments

Comments
 (0)