rust/tests
bors ee8376075d Auto merge of #11837 - y21:issue11835, r=dswij
[`missing_asserts_for_indexing`]: accept length equality checks

Fixes #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
2023-12-01 19:02:59 +00:00
..
test_utils
ui Auto merge of #11837 - y21:issue11835, r=dswij 2023-12-01 19:02:59 +00:00
ui-cargo
ui-internal Merge remote-tracking branch 'upstream/master' into rustup 2023-12-01 18:06:03 +01:00
ui-toml Merge remote-tracking branch 'upstream/master' into rustup 2023-12-01 18:06:03 +01:00
workspace_test
check-fmt.rs
clippy.toml
compile-test.rs
dogfood.rs
headers.rs
integration.rs
lint_message_convention.rs
missing-test-files.rs
versioncheck.rs
workspace.rs