Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance redundant_pattern_matching to also lint on std::net::IpAddr #6377

Merged
merged 1 commit into from
Nov 28, 2020

Conversation

CDirkx
Copy link
Contributor

@CDirkx CDirkx commented Nov 25, 2020

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

Suggest using utility methods `is_ipv4` and `is_ipv6`.
@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Nov 25, 2020
@ebroto
Copy link
Member

ebroto commented Nov 28, 2020

@bors r+
Thanks!

@bors
Copy link
Contributor

bors commented Nov 28, 2020

📌 Commit dc075b4 has been approved by ebroto

@ebroto ebroto removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Nov 28, 2020
@bors
Copy link
Contributor

bors commented Nov 28, 2020

⌛ Testing commit dc075b4 with merge 68cf94f...

@bors
Copy link
Contributor

bors commented Nov 28, 2020

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: ebroto
Pushing 68cf94f to master...

@bors bors merged commit 68cf94f into rust-lang:master Nov 28, 2020
@CDirkx CDirkx deleted the redundant-pattern-match-ipaddr branch November 28, 2020 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants