-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
internal: Work through temporarily allowed clippy lints, part 1 #16404
Conversation
#[allow(clippy::double_parens)] | ||
fn from_bytes(it: &[u8]) -> Result<Self> { | ||
Ok(Address::from_usize(from_bytes!(usize, it))) | ||
} |
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.
Feels like this lint should not trigger on macro expansions 🤔
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.
Good point, I will report it and the other bug as well
@bors r+ |
☀️ Test successful - checks-actions |
This is the first batch of not allowing but actually fixing the clippy lints. Each commit removes one lint from the lint table and then fixes the resulting warnings.
Follow-up to #16401