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

Fixed some unnecessary borrows and clones. #8146

Merged
merged 1 commit into from
Apr 26, 2020

Conversation

hbina
Copy link
Contributor

@hbina hbina commented Apr 23, 2020

As suggested by the clippy.

@rust-highfive
Copy link

r? @Eh2406

(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 Apr 23, 2020
@Eh2406
Copy link
Contributor

Eh2406 commented Apr 23, 2020

Something is wheered about CI, these changes are failing at runtime? @ehuss thoughts on how that is possible?

@alexcrichton
Copy link
Member

I think that was an erroneous git2 publish, if CI is restarted this should work again.

@hbina hbina marked this pull request as ready for review April 24, 2020 10:05
@ehuss ehuss force-pushed the fix_borrow_and_clone branch from 1e5b72c to 686ccfa Compare April 26, 2020 18:34
@ehuss
Copy link
Contributor

ehuss commented Apr 26, 2020

Thanks, I removed the last two commits, as I think the removal of the clones was fine.
@bors r+

@bors
Copy link
Contributor

bors commented Apr 26, 2020

📌 Commit 686ccfa has been approved by ehuss

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 26, 2020
@bors
Copy link
Contributor

bors commented Apr 26, 2020

⌛ Testing commit 686ccfa with merge 6a2d62f...

@bors
Copy link
Contributor

bors commented Apr 26, 2020

☀️ Test successful - checks-azure
Approved by: ehuss
Pushing 6a2d62f to master...

@bors bors merged commit 6a2d62f into rust-lang:master Apr 26, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 28, 2020
Update cargo

11 commits in 8751eb3010d4cdb5329b5a6bd2b6d765c95b0dca..90931d9b31e8b854522fed00916504a3ac6d8619
2020-04-21 18:04:35 +0000 to 2020-04-28 01:56:59 +0000
- Use associated constants directly on primitive types instead of modules (rust-lang/cargo#8077)
- Clear `RUSTDOCFLAGS` before running tests (rust-lang/cargo#8168)
- Fix warning for `resolve` mismatch in workspace. (rust-lang/cargo#8169)
- Fix flaky linking_interrupted test. (rust-lang/cargo#8162)
- Fixed some unnecessary borrows and clones. (rust-lang/cargo#8146)
- Added warning when using restricted names in Windows. (rust-lang/cargo#8136)
- Add changelog about dylib uplift. (rust-lang/cargo#8161)
- Mention that cargo_metadata can parse json messages (rust-lang/cargo#8158)
- Re-enable rustc-info-cache test again (rust-lang/cargo#8155)
- Updates to path source walking. (rust-lang/cargo#8095)
- Bump to 0.46.0, update changelog (rust-lang/cargo#8153)
@ehuss ehuss added this to the 1.45.0 milestone Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants