rust-clippy icon indicating copy to clipboard operation
rust-clippy copied to clipboard

Fix `never_loop` forget to remove `break` in suggestion

Open profetia opened this issue 7 months ago • 1 comments

Closes rust-lang/rust-clippy#15007

Removes the break stmt and the dead code after it when appropriate.

changelog: [never_loop] add to remove break in suggestion

profetia avatar Jun 16 '25 16:06 profetia

r? @Alexendoo

rustbot has assigned @Alexendoo. 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 avatar Jun 16 '25 16:06 rustbot

Alexendoo's a little bit over the top on capacity (32 assigned PRs) I'll shave off his last uncommented PRs.

r? @blyxyas

blyxyas avatar Jul 11 '25 23:07 blyxyas

Updated. Thank you!

profetia avatar Jul 15 '25 13:07 profetia

@rustbot ready

profetia avatar Jul 16 '25 16:07 profetia