invalid_from_utf8[_unchecked]: also lint inherent methods

This commit is contained in:
Pavel Grigorenko 2025-02-16 00:40:25 +03:00
parent 4229b80f50
commit f53d0f502d
6 changed files with 269 additions and 43 deletions

View file

@ -1973,6 +1973,10 @@ symbols! {
str_from_utf8_mut,
str_from_utf8_unchecked,
str_from_utf8_unchecked_mut,
str_inherent_from_utf8,
str_inherent_from_utf8_mut,
str_inherent_from_utf8_unchecked,
str_inherent_from_utf8_unchecked_mut,
str_len,
str_split_whitespace,
str_starts_with,