Closed strohel closed 8 months ago
Fixes clippy 1.73 lint.
This different order makes sense, as it avoids an expect().
all
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
clippy:all
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.
todo!()
panic!()
unreachable!()
unimplemented!()
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, addtodo
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-configurationAdd a lint that catches
todo!()
(but allowspanic!()
,unreachable!()
,unimplemented!()
) - you're encouraged to use it during development as a reminder for stuff to finish before a change can be merged.