Fix `map_unwrap_or` fail to cover `Result::unwrap_or`
Closes rust-lang/rust-clippy#15713 Closes rust-lang/rust-clippy#15714 Closes rust-lang/rust-clippy#15752
changelog: [map_unwrap_or] add cover for Result::unwrap_or
r? @blyxyas
rustbot has assigned @blyxyas. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.
Use r? to explicitly pick a reviewer
Lintcheck changes for a0f09e97b39994283c2a58923e44d4529d6a9723
| Lint | Added | Removed | Changed |
|---|---|---|---|
clippy::map_unwrap_or |
15 | 0 | 5 |
This comment will be updated if you push new changes
Unless you have a good reason not to, please use map_unwrap_or_fixable.rs for the tests.
Moved. Thank you!
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 fixes #15713
Also closes #15752
Updated. Thank you
:umbrella: The latest upstream changes (possibly ebbbbebf2dbb4df97193463d1de61a9737315ef0) made this pull request unmergeable. Please resolve the merge conflicts.
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.
r? clippy
Done. Thank you!
r? clippy
r? clippy
r? clippy
:umbrella: The latest upstream changes (possibly 34fab5cd37188e6a7ab0f089c356c7e9665ac318) made this pull request unmergeable. Please resolve the merge conflicts.
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.
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