bors e1a2845558 Auto merge of #6226 - Urcra:master, r=flip1995
Add lint for comparing to empty slices instead of using .is_empty()

Hey first time making a clippy lint

I added the implementation of the lint the `len_zero` since it shared a lot of the code, I would otherwise have to rewrite. Just tell me if the lint should use it's own file instead

changelog: Add lint for comparing to empty slices

Fixes #6217
2020-10-29 15:12:24 +00:00
..
2020-10-28 22:34:45 +01:00
2020-10-25 17:41:30 +08:00
2020-10-25 17:41:30 +08:00
2020-10-25 17:41:30 +08:00
2020-10-26 00:01:20 +09:00
2020-10-26 00:01:20 +09:00