slice-as-bytes: pedantic -> perf

This commit is contained in:
wowinter13 2025-01-25 18:38:47 +01:00
parent 4e94d22291
commit beeb6f7432

View file

@ -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"
}