-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Fix map_unwrap_or fail to cover Result::unwrap_or
#15718
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
|
Lintcheck changes for a0f09e9
This comment will be updated if you push new changes |
|
Unless you have a good reason not to, please use |
d89877a to
b08fb14
Compare
|
Moved. Thank you! |
b08fb14 to
6375703
Compare
This comment has been minimized.
This comment has been minimized.
|
Also fixes #15713 |
0b7431e to
48b8dd9
Compare
|
Also closes #15752 |
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 possible, you should squash together the two commits "Apply map_unwrap to Clippy itself" and make it the first commit). This way, after every commit, Clippy tests still pass (including dogfood), and it makes it easy to bisect should something go wrong. Then each "fix" commit can be put on top.
48b8dd9 to
761ecf0
Compare
|
Updated. Thank you |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
r? clippy |
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.
Could you also squash the commits please? The current separation makes it harder to read and review.
0a176fc to
081f15f
Compare
|
Done. Thank you! |
|
r? clippy |
|
r? clippy |
|
r? clippy |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
Also closes #16258 |
Closes #15713
Closes #15714
Closes #15752
Closes #16258
changelog: [
map_unwrap_or] add cover forResult::unwrap_or