mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
d13ffbe3fe
New lint `match_vec_item` Added new lint to warn a match on index item which can panic. It's always better to use `get(..)` instead. Closes #5500 changelog: New lint `match_on_vec_items`