Skip to content

register snapshots. #8177

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

Closed

Conversation

graydon
Copy link
Contributor

@graydon graydon commented Aug 1, 2013

r? someone

bors added a commit that referenced this pull request Aug 1, 2013
@bors bors closed this Aug 1, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Dec 30, 2021
closes rust-lang#8177

previously, `needless_return` suggests an empty block `{}` to replace void `return` on match arms, this PR improve the suggestion by suggesting a unit instead.

changelog: `needless_return` suggests `()` instead of `{}` on match arms
flip1995 pushed a commit to flip1995/rust that referenced this pull request Dec 30, 2021
`needless_return` suggest return unit type on void returns

closes rust-lang#8177

previously, `needless_return` suggests an empty block `{}` to replace void `return` on match arms, this PR improve the suggestion by suggesting a unit instead.

changelog: `needless_return` suggests `()` instead of `{}` on match arms
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.

3 participants