lint get
vs index
dissonance
#1314
Labels
A-lint
Area: New lints
E-hard
Call for participation: This a hard problem and requires more experience or effort to work on
L-correctness
Lint: Belongs in the correctness lint group
L-style
Lint: Belongs in the style lint group
T-middle
Type: Probably requires verifiying types
for custom types we aren't sure that
.get().unwrap()
and[]
are actually equivalent. They probably should be, so let's lint them.Idea by @devonhollowood in https://github.com/Manishearth/rust-clippy/pull/1312#issuecomment-257664178
The text was updated successfully, but these errors were encountered: