Skip to content

Conversation

@xales
Copy link
Contributor

@xales xales commented Jan 27, 2014

No description provided.

@bors bors closed this Jan 28, 2014
flip1995 pushed a commit to flip1995/rust that referenced this pull request Dec 16, 2023
[`missing_asserts_for_indexing`]: accept length equality checks Fixes rust-lang#11835 The lint now allows indexing with indices 0 and 1 when an `assert!(x.len() == 2);` is found. (Also fixed a typo in the doc example) changelog: [`missing_asserts_for_indexing`]: accept len equality checks as a valid assertion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

6 participants