]> git.lizzy.rs Git - rust.git/commit
Auto merge of #6377 - CDirkx:redundant-pattern-match-ipaddr, r=ebroto
authorbors <bors@rust-lang.org>
Sat, 28 Nov 2020 23:02:47 +0000 (23:02 +0000)
committerbors <bors@rust-lang.org>
Sat, 28 Nov 2020 23:02:47 +0000 (23:02 +0000)
commit68cf94f6a66e47234e3adefc6dfbe806cd6ad164
tree0d64b4ae70dd71ff01ffe42fb1cbd6962891cdfe
parentbc723c53a017817b86c65b616ba0550095913b86
parentdc075b426675e61cc46089046cf41d85edd79aaa
Auto merge of #6377 - CDirkx:redundant-pattern-match-ipaddr, r=ebroto

Enhance `redundant_pattern_matching` to also lint on `std::net::IpAddr`

Follow-up to #6339
r? `@ebroto`

(note: also contains a small cleanup of the other ui tests)

changelog: Enhance [`redundant_pattern_matching`] to also lint on `std::net::IpAddr`
clippy_lints/src/matches.rs