Skip to content

Avoid cloning Config struct #3560

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
Apr 26, 2021
Merged

Conversation

jtgeibel
Copy link
Member

This struct contains a lot of owned data and cloning the entire struct
is unnecessary.

r? @Turbo87

Copy link
Member

@Turbo87 Turbo87 left a comment

Choose a reason for hiding this comment

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

very good idea! 👍

This struct contains a lot of owned data and cloning the entire struct
is unnecessary.
@jtgeibel jtgeibel force-pushed the avoid-cloning-config branch from d99f64c to b91aa29 Compare April 26, 2021 21:30
@jtgeibel
Copy link
Member Author

I've pushed a new commit which should fix the build error. I missed a line while trying to slip a diff into smaller PRs.

@Turbo87
Copy link
Member

Turbo87 commented Apr 26, 2021

@bors r+

@bors
Copy link
Contributor

bors commented Apr 26, 2021

📌 Commit b91aa29 has been approved by Turbo87

@bors
Copy link
Contributor

bors commented Apr 26, 2021

⌛ Testing commit b91aa29 with merge 7c548f4...

@bors
Copy link
Contributor

bors commented Apr 26, 2021

☀️ Test successful - checks-actions
Approved by: Turbo87
Pushing 7c548f4 to master...

@bors bors merged commit 7c548f4 into rust-lang:master Apr 26, 2021
@jtgeibel jtgeibel deleted the avoid-cloning-config branch April 26, 2021 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants