Skip to content

Improve doc on map_flatten #6876

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

Merged
merged 1 commit into from
Mar 9, 2021

Conversation

giraffate
Copy link
Contributor

Fix #6870. It's because this doc lacks the description that this lint is also used for Option.

changelog: none

@rust-highfive
Copy link

r? @llogiq

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Mar 9, 2021
@flip1995
Copy link
Member

flip1995 commented Mar 9, 2021

@bors r+

Thanks!

@bors
Copy link
Contributor

bors commented Mar 9, 2021

📌 Commit e0f982b has been approved by flip1995

@bors
Copy link
Contributor

bors commented Mar 9, 2021

⌛ Testing commit e0f982b with merge 2b781c9...

@bors
Copy link
Contributor

bors commented Mar 9, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing 2b781c9 to master...

@bors bors merged commit 2b781c9 into rust-lang:master Mar 9, 2021
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.

Suggest replacing .map(f).flatten() with .and_then(f) on Options
5 participants