Suggest .get()
over .iter().nth()
#1009
Labels
A-lint
Area: New lints
good-first-issue
These issues are a good way to get started with Clippy
L-perf
Lint: Belongs in the perf lint group
L-style
Lint: Belongs in the style lint group
T-middle
Type: Probably requires verifiying types
.get()
exists on slices, which people (including me) seem not to be aware of (cc #1008).The text was updated successfully, but these errors were encountered: