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

pull out first statement to eliminate unused brace errors #23

Closed
wants to merge 1 commit into from
Closed

pull out first statement to eliminate unused brace errors #23

wants to merge 1 commit into from

Conversation

daaku
Copy link
Contributor

@daaku daaku commented Jun 10, 2020

As the title says, removes unnecessary braces to prevent the unnecessary braces around function argument warnings. This eliminates 20 of the 21 warnings emitted when running cargo test.

Caveat: still a rust n00b...

@Schniz Schniz mentioned this pull request Jun 10, 2020
@Schniz
Copy link
Collaborator

Schniz commented Jun 10, 2020

Merged in #25 😃 thanks

@Schniz Schniz closed this Jun 10, 2020
@daaku daaku deleted the unused-braces branch June 10, 2020 13:19
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.

2 participants