Skip to content

Conversation

ada4a
Copy link
Contributor

@ada4a ada4a commented Oct 6, 2025

changelog: [(zero_repeat_side_effects]: don't suggest unnecessary braces around stmts

r? @samueltardieu

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Oct 6, 2025
@rustbot
Copy link
Collaborator

rustbot commented Oct 6, 2025

r? @blyxyas

rustbot has assigned @blyxyas.
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 assigned samueltardieu and unassigned blyxyas Oct 6, 2025
@blyxyas
Copy link
Member

blyxyas commented Oct 6, 2025

?? triagebot is doing weird things

@ada4a
Copy link
Contributor Author

ada4a commented Oct 6, 2025

No no, that's on me, sorry for the confusion^^ Samuel had asked me to assign him to this PR, but I forgot to do that when opening the PR, and so triagebot picked you as the random assignee


// when singled out/not part of assignment/local
{ f(); vec![] as std::vec::Vec<i32> };
f(); vec![] as std::vec::Vec<i32>;
Copy link
Member

Choose a reason for hiding this comment

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

Nit: can't you put this on two lines and repeat the indentation? It would probably look cleaner.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right, I just got lazy... Went ahead and added the indentation to all the other variants while at it

@ada4a ada4a force-pushed the zero_repeat_side_effects-3 branch from d93aa82 to dfc1ae8 Compare October 6, 2025 22:56
@ada4a ada4a force-pushed the zero_repeat_side_effects-3 branch from dfc1ae8 to bb53f99 Compare October 6, 2025 22:57
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.

4 participants