Skip to content

Fix some warnings #2718

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

Merged
merged 1 commit into from
Apr 12, 2021
Merged

Fix some warnings #2718

merged 1 commit into from
Apr 12, 2021

Conversation

jyn514
Copy link
Member

@jyn514 jyn514 commented Apr 12, 2021

  • Remove unnecessary format
  • Remove unnecessary clones
  • Remove unused enum variants
  • Reorder fields to make clippy happy
  • Remove duplicate code in if/else block
  • Silence unhelpful lint

- Remove unnecessary format
- Remove unnecessary clones
- Remove unused enum variants
- Reorder fields to make clippy happy
- Remove duplicate code in if/else block
- Silence unhelpful lint
@kinnison kinnison merged commit 4cdedeb into rust-lang:master Apr 12, 2021
@jyn514 jyn514 deleted the warnings branch April 12, 2021 23:07
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