-
Notifications
You must be signed in to change notification settings - Fork 276
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
[refactor] #3622: Granular clippy lints #3722
Conversation
Signed-off-by: Aleksandr Petrosyan <[email protected]>
Signed-off-by: Aleksandr Petrosyan <[email protected]>
Signed-off-by: Aleksandr Petrosyan <[email protected]>
Pull Request Test Coverage Report for Build 5596484785
💛 - Coveralls |
/// and/or computing the hash from a raw stream of bytes. **This | ||
/// function cannot check your code for type validity, so this | ||
/// must be enforced by the user**. | ||
pub fn typed<T>(self) -> HashOf<T> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pub fn typed<T>(self) -> HashOf<T> { | |
pub fn typed_unchecked<T>(self) -> HashOf<T> { |
can we at least have suffix _unchecked
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you like.
How about manually_typed
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, this gives me an idea.
Description
Drive-by refactoring and experiment with granular linting on a per-crate basis.
Linked issue
Partially addresses #3622
Checklist