slice-as-bytes: pedantic -> perf
This commit is contained in:
parent
4e94d22291
commit
beeb6f7432
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue