Skip to content

Commit beeb6f7

Browse files
committed
slice-as-bytes: pedantic -> perf
1 parent 4e94d22 commit beeb6f7

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
@@ -4388,7 +4388,7 @@ declare_clippy_lint! {
43884388
/// ```
43894389
#[clippy::version = "1.86.0"]
43904390
pub SLICED_STRING_AS_BYTES,
4391-
pedantic,
4391+
perf,
43924392
"slicing a string and immediately calling as_bytes is less efficient and can lead to panics"
43934393
}
43944394

0 commit comments

Comments
 (0)