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

make cargo clippy pass. #592

Merged
merged 1 commit into from
Apr 22, 2024
Merged

make cargo clippy pass. #592

merged 1 commit into from
Apr 22, 2024

Conversation

jacksonrnewhouse
Copy link
Contributor

@jacksonrnewhouse jacksonrnewhouse commented Apr 22, 2024

cargo clippy now passes. I started with cargo clippy --fix and then did manual fixes for the rest. The main things I fixed manually:

  • Switch single matches to if let blocks.
  • Change &Vec<> function args to &[].
  • Define some complex types.
  • Add allows where it made sense.

@jacksonrnewhouse jacksonrnewhouse merged commit 3cab907 into master Apr 22, 2024
6 checks passed
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