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

Fix clippy warnings #136

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

barafael
Copy link
Contributor

Building upon the changes #134 and #135, a bunch of new clippy lints surfaced.

I fixed all the default clippy lints and chose a good selection (according to me) of the lints in clippy::pedantic and clippy::nursery.

Many changes are very simple, such as using struct initializer shorthand or let-else instead of let-if-let.

Let me know what you think.

@barafael barafael marked this pull request as draft June 19, 2023 21:59
@barafael barafael force-pushed the fix_clippy_warnings branch 4 times, most recently from cb9a7d2 to ef66de1 Compare June 19, 2023 22:48
@barafael barafael marked this pull request as ready for review June 19, 2023 22:52
@barafael barafael force-pushed the fix_clippy_warnings branch 2 times, most recently from e7fa1c7 to 261df16 Compare June 20, 2023 17:31
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.

None yet

1 participant