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

apply iter_cloned_collect to collect() using copied() #8006

Merged
merged 2 commits into from
Nov 28, 2021

Conversation

togami2864
Copy link
Contributor

fix: #6703

changelog: apply iter_cloned_collect to collect() usingcopied()

@rust-highfive
Copy link

r? @camsteffen

(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 Nov 20, 2021
@togami2864 togami2864 changed the title Generalize copied apply iter_cloned_collect to collect() usingcopied() Nov 20, 2021
@togami2864 togami2864 changed the title apply iter_cloned_collect to collect() usingcopied() apply iter_cloned_collect to collect() using copied() Nov 26, 2021
Copy link
Contributor

@camsteffen camsteffen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a minor discrepancy in the message.

tests/ui/iter_cloned_collect.stderr Outdated Show resolved Hide resolved
@camsteffen
Copy link
Contributor

Looks good! Please squash commits.

@camsteffen
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented Nov 28, 2021

📌 Commit f51bbc7 has been approved by camsteffen

@bors
Copy link
Collaborator

bors commented Nov 28, 2021

⌛ Testing commit f51bbc7 with merge 4e84dd1...

@bors
Copy link
Collaborator

bors commented Nov 28, 2021

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: camsteffen
Pushing 4e84dd1 to master...

@bors bors merged commit 4e84dd1 into rust-lang:master Nov 28, 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.

Generalize iter_cloned_collect to .copied()
4 participants