about summary refs log tree commit diff
diff options
context:
space:
mode:
authorwowinter13 <vla-dy@yandex.ru>2025-01-25 18:38:47 +0100
committerwowinter13 <vla-dy@yandex.ru>2025-01-25 18:43:07 +0100
commitbeeb6f7432a2274895dfbe4736be75bc21db827a (patch)
treeebaec24198d8f1a06f1d5cc5722aea7ae6b1012c
parent4e94d222912c2a36966ae845e8fd54e073896266 (diff)
downloadrust-beeb6f7432a2274895dfbe4736be75bc21db827a.tar.gz
rust-beeb6f7432a2274895dfbe4736be75bc21db827a.zip
slice-as-bytes: pedantic -> perf
-rw-r--r--clippy_lints/src/methods/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs
index 3953fe03f31..ceb21f627c9 100644
--- a/clippy_lints/src/methods/mod.rs
+++ b/clippy_lints/src/methods/mod.rs
@@ -4388,7 +4388,7 @@ declare_clippy_lint! {
     /// ```
      #[clippy::version = "1.86.0"]
      pub SLICED_STRING_AS_BYTES,
-     pedantic,
+     perf,
      "slicing a string and immediately calling as_bytes is less efficient and can lead to panics"
 }