Skip to content
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

suggest map_or in case_sensitive_file_extension_comparisons #9341

Merged
merged 1 commit into from
Aug 17, 2022

Conversation

bmc-msft
Copy link

@bmc-msft bmc-msft commented Aug 16, 2022

changelog: [case_sensitive_file_extension_comparisons ]: updated suggestion in the example to use map_or

Currently, case_sensitive_file_extension_comparisons suggests using map(..).unwrap_or(..) which trips up the map_unwrap_or lint. This updates the suggestion to use map_or.

Currently, case_sensitive_file_extension_comparisons suggests using
`map(..).unwrap_or(..)` which trips up `map_unwrap_or`.  This updates
the suggestion to use map_or.
@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @llogiq (or someone else) soon.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Aug 16, 2022
@giraffate
Copy link
Contributor

@bors r+

Thanks!

@bors
Copy link
Collaborator

bors commented Aug 17, 2022

📌 Commit bfeaae8 has been approved by giraffate

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Aug 17, 2022

⌛ Testing commit bfeaae8 with merge 18c6818...

@bors
Copy link
Collaborator

bors commented Aug 17, 2022

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: giraffate
Pushing 18c6818 to master...

@bors bors merged commit 18c6818 into rust-lang:master Aug 17, 2022
@bmc-msft bmc-msft deleted the suggest-map_or-instead-of-unwrap_or branch August 17, 2022 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants