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

[needless_return] Recursively remove unneeded semicolons #9497

Merged
merged 7 commits into from
Sep 27, 2022

Conversation

kraktus
Copy link
Contributor

@kraktus kraktus commented Sep 19, 2022

fix #8336,
fix #8156,
fix #7358,
fix #9192,
fix #9503

changelog: [needless_return] Recursively remove unneeded semicolons

For now the suggestion about removing the semicolons are hidden because they would be very noisy and should be obvious if the user wants to apply the lint manually instead of using --fix. This could be an issue for beginner, but haven't found better way to display it.

@rust-highfive
Copy link

r? @flip1995

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

clippy_lints/src/returns.rs Outdated Show resolved Hide resolved
@llogiq
Copy link
Contributor

llogiq commented Sep 25, 2022

Sorry @flip1995 for stealing the review 😉

Thanks @kraktus!

@bors r+

@bors
Copy link
Collaborator

bors commented Sep 25, 2022

📌 Commit b333645 has been approved by llogiq

It is now in the queue for this repository.

@Mark-Simulacrum
Copy link
Member

@llogiq can you re-approve this PR? We're fixing some bors missing events (which is why I closed/opened it etc); see https://rust-lang.zulipchat.com/#narrow/stream/242791-t-infra/topic/bors.20stuck.20for.20Miri.20and.20other.20tools.3F for some additional context.

@llogiq
Copy link
Contributor

llogiq commented Sep 27, 2022

Sure!

@bors r+

@bors
Copy link
Collaborator

bors commented Sep 27, 2022

📌 Commit b333645 has been approved by llogiq

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Sep 27, 2022

⌛ Testing commit b333645 with merge 47c9145...

@bors
Copy link
Collaborator

bors commented Sep 27, 2022

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: llogiq
Pushing 47c9145 to master...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment