Skip to content

Commit

Permalink
Rollup merge of rust-lang#116245 - flip1995:clippy-backport, r=Manish…
Browse files Browse the repository at this point in the history
…earth

Clippy backport: Move needless_raw_string_hashes to pedantic

Really small backport this time. Context: rust-lang/rust-clippy#11415 (comment)

I'd rather get this in 1.74 than waiting another release cycle.

r? `@Manishearth`

cc `@Mark-Simulacrum` This should be merged before beta is branched tomorrow.
  • Loading branch information
matthiaskrgr authored Sep 29, 2023
2 parents 38fd80a + 82207f4 commit 1a82ca0
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 1a82ca0

Please sign in to comment.