-
Notifications
You must be signed in to change notification settings - Fork 1.7k
or_fun_call: lint more methods #15071
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
base: master
Are you sure you want to change the base?
Conversation
rustbot has assigned @samueltardieu. Use |
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.
You applied the dogfood
by hand, right? You missed two placed (clippy_lints/src/matches/redundant_pattern_match.rs
line 276 and lintcheck/src/output.rs
line 80).
No, skipped ones didn't look as good suggestions to me. |
@rustbot ready |
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.
Can you squash the commits (except for the dogfood one)?
@rustbot author |
Reminder, once the PR becomes ready for a review, use |
@rustbot ready |
Extend
or_fun_call
lint with new checks for Option::get_or_insert, Result::map_or.changelog: [
or_fun_call
]: lint more methods