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
..
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-21 22:03:00 +01:00
2023-11-24 19:15:52 +01:00
2023-11-26 18:40:50 +01:00
2023-11-26 18:40:50 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-20 12:08:07 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-20 13:28:28 +01:00
2023-11-20 13:28:28 +01:00
2023-11-22 13:42:13 +01:00
2023-11-24 19:15:52 +01:00
2023-11-22 13:42:13 +01:00
2023-11-24 18:14:34 +01:00
2023-11-26 22:46:13 +01:00
2023-11-24 19:15:52 +01:00
2023-11-23 13:32:41 +01:00
2023-11-23 13:32:41 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-23 09:31:49 +01:00
2023-11-23 09:31:49 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-21 12:02:12 +01:00
2023-11-21 12:02:12 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-23 13:32:41 +01:00
2023-11-29 19:38:02 +01:00
2023-11-29 19:38:02 +01:00
2023-11-29 19:38:02 +01:00
2023-11-24 18:14:34 +01:00
2023-11-24 18:14:34 +01:00
2023-12-01 18:06:03 +01:00
2023-11-23 13:32:41 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-28 00:27:51 +09:00
2023-11-28 00:27:51 +09:00
2023-11-28 00:27:51 +09:00
2023-11-24 19:15:52 +01:00
2023-12-01 17:24:34 +01:00
2023-12-01 16:52:34 +01:00
2023-12-01 17:24:34 +01:00
2023-11-23 13:32:41 +01:00
2023-11-23 13:32:41 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-23 23:07:36 +01:00
2023-11-24 17:47:31 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-28 21:29:08 +01:00
2023-11-28 21:29:08 +01:00
2023-11-24 19:15:52 +01:00
2023-12-01 18:06:03 +01:00
2023-11-24 19:15:52 +01:00
2023-11-21 14:04:19 +01:00
2023-11-21 14:04:19 +01:00
2023-11-21 14:04:19 +01:00
2023-11-21 14:04:19 +01:00
2023-11-21 14:04:19 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-30 16:00:40 +00:00
2023-11-30 16:00:40 +00:00
2023-11-30 16:00:40 +00:00
2023-11-24 19:15:52 +01:00