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

🚨 Run clippy pedantic #469

Merged
merged 4 commits into from
Oct 9, 2024
Merged

🚨 Run clippy pedantic #469

merged 4 commits into from
Oct 9, 2024

Conversation

JMicheli
Copy link
Collaborator

@JMicheli JMicheli commented Oct 9, 2024

This is a housekeeping PR. I went into the roots of the core and server crates, enabled clippy::pedantic, and fixed anything that seemed sensible to fix. I think the result is nice, lots of little readability and consistency fixes. Plus it was relaxing.

There were even a few instances where parameters in functions could become references, which could theoretically improve performance but won't because it was like 4 string manipulation functions.

Passes tests and runs fine for me after as well.

@JMicheli JMicheli marked this pull request as ready for review October 9, 2024 01:18
Copy link
Collaborator

@aaronleopold aaronleopold left a comment

Choose a reason for hiding this comment

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

This is awesome, thank you! I glossed through the change-set, but I'll trust clippy on this one

Plus it was relaxing

I love this, I also enjoy clippy doing its thing

@JMicheli JMicheli merged commit d25de2d into develop Oct 9, 2024
8 checks passed
@JMicheli JMicheli deleted the clippy-pedantic branch October 9, 2024 02:21
@aaronleopold aaronleopold mentioned this pull request Oct 11, 2024
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