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

protocols/: Fix clippy and fmt warnings #2433

Merged
merged 2 commits into from
Jan 13, 2022

Conversation

elenaf9
Copy link
Contributor

@elenaf9 elenaf9 commented Jan 13, 2022

Github actions are failing in #2262 due to new rustfmt and clippy versions. This PR fixes clippy and rustfmt.
Note: in 4fbaa2d I had to remove the tuple from the function signature and instead add it in the function body, because it caused some internal error on rustfmt.

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.

Again ahead of me. :)

Thanks for the fix!

@mxinden mxinden changed the title Fix/clippy and fmt protocols/: Fix clippy and fmt warnings Jan 13, 2022
@mxinden mxinden merged commit ddc0351 into libp2p:master Jan 13, 2022
@elenaf9 elenaf9 deleted the fix/clippy-and-fmt branch January 13, 2022 18:37
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.

2 participants