lint creating a &str (or String) from invalid UTF-8 bytes #629
Labels
A-lint
Area: New lints
good-first-issue
These issues are a good way to get started with Clippy
L-correctness
Lint: Belongs in the correctness lint group
T-middle
Type: Probably requires verifiying types
This is also undefined behavior (according to the rust book), calling
std::str::from_utf8_unchecked(..)
on something which is not UTF-8.The text was updated successfully, but these errors were encountered: