Skip to content

Remove unnecessary borrows. #532

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
Jun 18, 2021
Merged

Conversation

rcls
Copy link
Contributor

@rcls rcls commented Jun 18, 2021

Running cargo +nightly clippy, I noticed a few complaints about unnecessary borrows. Remove those. Clippy now has no complaints either on stable or nightly.

Still builds with stable, and running on a few SVD files, no changes (except for version info).

Running `cargo +nightly clippy`, I noticed a few complaints about
unnecessary borrows.  Remove those.
@rcls rcls requested a review from a team as a code owner June 18, 2021 17:57
@rust-highfive
Copy link

r? @ryankurte

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

@rust-highfive rust-highfive added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-tools labels Jun 18, 2021
@burrbull
Copy link
Member

bors r+

@bors bors bot merged commit e0860b7 into rust-embedded:master Jun 18, 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. T-tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants