Suggest &string[6..11]
for str::from_utf8(string.as_bytes()[6..11]).unwrap()
#5487
Labels
A-lint
Area: New lints
good-first-issue
These issues are a good way to get started with Clippy
L-complexity
Lint: Belongs in the complexity lint group
L-suggestion
Lint: Improving, adding or fixing lint suggestions
This
could be written as
The text was updated successfully, but these errors were encountered: