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

Clippy #1

Merged
merged 3 commits into from
Sep 1, 2023
Merged

Clippy #1

merged 3 commits into from
Sep 1, 2023

Conversation

chris-ha458
Copy link
Contributor

Hi I saw your reddit post and gave it a slight go.

Most of my observation and suggestions come from
cargo clippy , cargo clippy -- -Wclippy::pedantic and my minds clippy (especially potential functional conversions)

Some of these are about idiomatic rust code and some are about opinionated style choices (especially clippy::pedantic)

I tried to categorize them into relevant parts.
Feel free to cherrypick as you see fit

Copy link
Owner

@ahmedtadde ahmedtadde left a comment

Choose a reason for hiding this comment

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

LGTM!

Big thanks for the improvements @chris-ha458 . Event though I am still in the process of learning the language, I can definitely see that the changes yield better quality code.

@ahmedtadde ahmedtadde merged commit e445ebb into ahmedtadde:main Sep 1, 2023
2 checks passed
@chris-ha458 chris-ha458 deleted the clippy branch September 1, 2023 11:32
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