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

ignore &x | &y in unnested_or_patterns #8619

Merged
merged 1 commit into from Apr 8, 2022
Merged

Conversation

pitaj
Copy link
Contributor

@pitaj pitaj commented Apr 2, 2022

replacing it with &(x | y) is actually more characters

Fixes #6973

changelog: [unnested_or_patterns] ignore &x | &y, nesting would result in more characters

replacing it with `&(x | y)` is actually more characters
@rust-highfive
Copy link

r? @Manishearth

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Apr 2, 2022
@giraffate
Copy link
Contributor

@bors r+

Thanks!

@bors
Copy link
Collaborator

bors commented Apr 8, 2022

📌 Commit c70f1e0 has been approved by giraffate

@bors
Copy link
Collaborator

bors commented Apr 8, 2022

⌛ Testing commit c70f1e0 with merge a63308b...

@bors
Copy link
Collaborator

bors commented Apr 8, 2022

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: giraffate
Pushing a63308b to master...

@bors bors merged commit a63308b into rust-lang:master Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unnested_or_patterns can actually expand code (in text size)
5 participants