We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e94d22 commit beeb6f7Copy full SHA for beeb6f7
clippy_lints/src/methods/mod.rs
@@ -4388,7 +4388,7 @@ declare_clippy_lint! {
4388
/// ```
4389
#[clippy::version = "1.86.0"]
4390
pub SLICED_STRING_AS_BYTES,
4391
- pedantic,
+ perf,
4392
"slicing a string and immediately calling as_bytes is less efficient and can lead to panics"
4393
}
4394
0 commit comments