Skip to content

Commit 8f4aae3

Browse files
committed
slice-as-bytes: pedantic -> perf
1 parent 32d8fa0 commit 8f4aae3

File tree

1 file changed

+1
-1
lines changed
  • clippy_lints/src/methods

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4364,7 +4364,7 @@ declare_clippy_lint! {
43644364
/// ```
43654365
#[clippy::version = "1.86.0"]
43664366
pub SLICED_STRING_AS_BYTES,
4367-
pedantic,
4367+
perf,
43684368
"slicing a string and immediately calling as_bytes is less efficient and can lead to panics"
43694369
}
43704370

0 commit comments

Comments
 (0)