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

Make clippy "happy". #1950

Merged
merged 4 commits into from
Feb 15, 2021
Merged

Make clippy "happy". #1950

merged 4 commits into from
Feb 15, 2021

Conversation

romanb
Copy link
Contributor

@romanb romanb commented Feb 8, 2021

Address all clippy complaints that are not purely stylistic (or even have corner cases with false positives). Ignore all "style" and "pedantic" lints. Closes #1888. There was quite a bit of unnecessary cloning, not just of peer IDs.

Roman S. Borschel added 2 commits February 8, 2021 11:49
Address all clippy complaints that are not purely stylistic (or even
have corner cases with false positives). Ignore all "style" and "pedantic" lints.
Copy link
Member

@mxinden mxinden left a comment

Choose a reason for hiding this comment

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

Thanks Roman for doing this!

swarm/src/lib.rs Outdated Show resolved Hide resolved
@romanb
Copy link
Contributor Author

romanb commented Feb 15, 2021

Since none of the changes here affect the API or are otherwise noteworthy for a changelog, let alone require a release, I will merge this PR as-is.

@romanb romanb merged commit 6499e92 into libp2p:master Feb 15, 2021
@romanb romanb deleted the happy-clippy branch February 15, 2021 10:59
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.

Remove redundant cloning of PeerIds
2 participants