Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Jun 5, 2022

changelog: none

Michael Wright added 3 commits June 5, 2022 07:30
Remove duplication in creating suggestions by first mapping assignments
to spans and then suggestions.
Simplify the creation of suggestions by using `flat_map` instead of
`chain`. Note that the order of the suggestions is not important.
Remove the unneeded wrapping and unwrapping in suggestion creation.
Collecting to Option<Vec<_>> only returns None if one of the elements is
None and that is never the case here.
@rust-highfive
Copy link

r? @Manishearth

(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 Jun 5, 2022
@giraffate
Copy link
Contributor

@bors r+

Thanks!

@bors
Copy link
Contributor

bors commented Jun 6, 2022

📌 Commit a2de347 has been approved by giraffate

@bors
Copy link
Contributor

bors commented Jun 6, 2022

⌛ Testing commit a2de347 with merge 3e77162...

@bors
Copy link
Contributor

bors commented Jun 6, 2022

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

@bors bors merged commit 3e77162 into rust-lang:master Jun 6, 2022
@ghost ghost deleted the needless-late-init-20220605 branch June 7, 2022 15:19
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.

4 participants