Skip to content

Conversation

ada4a
Copy link
Contributor

@ada4a ada4a commented Jul 25, 2025

…rom a macro

changelog: [unnecessary_map_or]: don't add parens if the parent expr comes from a macro

fixes #14714

@rustbot
Copy link
Collaborator

rustbot commented Jul 25, 2025

r? @y21

rustbot has assigned @y21.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jul 25, 2025
@ada4a ada4a force-pushed the unnecessary_map_or branch 2 times, most recently from 8e7bd2a to 4a5b603 Compare July 27, 2025 11:40
@ada4a ada4a force-pushed the unnecessary_map_or branch from 4a5b603 to 81fc227 Compare July 27, 2025 11:55
@ada4a
Copy link
Contributor Author

ada4a commented Jul 27, 2025

Everything should be done now!

Copy link
Member

@y21 y21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. thank you!

@y21 y21 added this pull request to the merge queue Jul 27, 2025
Merged via the queue into rust-lang:master with commit 3174c05 Jul 27, 2025
11 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jul 27, 2025
@ada4a ada4a deleted the unnecessary_map_or branch July 27, 2025 12:25
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.

suggestions for unnecessary_map_or suggest unnecessary parentheses
3 participants