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

Adds misc clippy fixes #73

Merged
merged 1 commit into from
Jan 24, 2022
Merged

Conversation

06chaynes
Copy link
Contributor

This adds a number of clippy related fixes:

Tested using: cargo clippy --lib --tests --all-features --all-targets -- -D warnings

If you run that command you'll notice there are still two errors that are thrown, both instances of needless_collect. This could be a false positive. I wasn't sure after reviewing so I decided it was best to leave it as is.

Copy link
Member

@tatsuya6502 tatsuya6502 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, Clippy was not running on those test codes. Nice catch! Thank you.

@tatsuya6502 tatsuya6502 merged commit 907b2f7 into moka-rs:master Jan 24, 2022
@06chaynes
Copy link
Contributor Author

No problem!

@tatsuya6502 tatsuya6502 added this to the v0.7.2 milestone Feb 3, 2022
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