-
Notifications
You must be signed in to change notification settings - Fork 1k
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
*: Fix newly raised clippy warnings #3106
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Hannes LGTM! Curious, how did you run cargo clippy
, did you run the custom-clippy
?
core/CHANGELOG.md
Outdated
@@ -4,8 +4,11 @@ | |||
|
|||
- Hide `prost::Error` from public API in `FromEnvelopeError::InvalidPeerRecord` and `signed_envelope::DecodingError`. See [PR 3058]. | |||
|
|||
- Fixed minor clippy issue. See [PR 3106]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need to announce clippy improvements in the CHANGELOG.md
if they don't affect the public API, see here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, lets not clutter the changelog with such details.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed the changes from the changelog.
Related: #3090 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am okay to merge this if we drop the changelog entries :)
@Mergifyio backport rust-v0480-testplan |
Fixed minor issues raised by clippy to improve correctness and readablitity. (cherry picked from commit c32f03c) # Conflicts: # examples/gossipsub-chat.rs # protocols/kad/src/query/peers/closest/disjoint.rs
✅ Backports have been created
|
Description
I corrected warnings raised by clippy that accumulated or came from a new iteration of clippy.
Change checklist
Commit message body
Fixed minor issues raised by clippy to improve correctness and readablitity.