Skip to content

Commit

Permalink
slice-as-bytes: pedantic -> perf
Browse files Browse the repository at this point in the history
  • Loading branch information
wowinter13 committed Jan 25, 2025
1 parent 4e94d22 commit beeb6f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/methods/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit beeb6f7

Please sign in to comment.