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 1.73 lints, update lint configuration #78

Merged
merged 2 commits into from
Oct 19, 2023
Merged

Conversation

strohel
Copy link
Member

@strohel strohel commented Oct 18, 2023

timed::QueueItem: Implement partial_cmp() using cmp(), not the other way around

Fixes clippy 1.73 lint.

This different order makes sense, as it avoids an expect().

Clippy lints update: all is implied, add todo

I must have been mistaken when originally introducing clippy:all, because these are, by definition, lints that are enabled without any configuration: https://doc.rust-lang.org/stable/clippy/usage.html#lint-configuration

Add a lint that catches todo!() (but allows panic!(), unreachable!(), unimplemented!()) - you're encouraged to use it during development as a reminder for stuff to finish before a change can be merged.

…way around

Fixes clippy 1.73 lint.

This different order makes sense, as it avoids an expect().
I must have been mistaken when originally introducing `clippy:all`, because these are, by definition, lints that are enabled without any configuration: https://doc.rust-lang.org/stable/clippy/usage.html#lint-configuration

Add a lint that catches `todo!()` (but allows `panic!()`, `unreachable!()`, `unimplemented!()`) - you're encouraged to use it during development as a reminder for stuff to finish before a change can be merged.
Copy link
Member

@bschwind bschwind left a comment

Choose a reason for hiding this comment

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

LGTM!

@strohel strohel merged commit 6b31343 into main Oct 19, 2023
6 checks passed
@strohel strohel deleted the clippy-1.73 branch October 19, 2023 09:57
strohel added a commit to tonarino/rusty-yunet that referenced this pull request Sep 29, 2024
I must have been mistaken when originally introducing `clippy:all`, because these are, by definition, lints that are enabled without any configuration: https://doc.rust-lang.org/stable/clippy/usage.html#lint-configuration

Add a lint that catches `todo!()` (but allows `panic!()`, `unreachable!()`, `unimplemented!()`) - you're encouraged to use it during development as a reminder for stuff to finish before a change can be merged.

Sibling in `actor`: tonarino/actor#78
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