Skip to content

protocols/: Fix clippy and fmt warnings#2433

Merged
mxinden merged 2 commits into
libp2p:masterfrom
elenaf9:fix/clippy-and-fmt
Jan 13, 2022
Merged

protocols/: Fix clippy and fmt warnings#2433
mxinden merged 2 commits into
libp2p:masterfrom
elenaf9:fix/clippy-and-fmt

Conversation

@elenaf9

@elenaf9 elenaf9 commented Jan 13, 2022

Copy link
Copy Markdown
Member

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.

@mxinden mxinden left a comment

Copy link
Copy Markdown
Member

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