-
Notifications
You must be signed in to change notification settings - Fork 1.8k
minor: fix cargo clippy some warning #9442
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
Conversation
f20a4e8 to
94aa92c
Compare
|
I am curious why I didn't get any clippy warnings locally, then I realized that these lints haven't been added to Rust 1.76 :D |
|
The CI error is not related to this PR, I have them in my PR too |
alamb
left a comment
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 great to me -- thank you @jackwener
| impl ToString for CompressionTypeVariant { | ||
| fn to_string(&self) -> String { | ||
| match self { | ||
| impl Display for CompressionTypeVariant { |
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.
👍
Which issue does this PR close?
Closes #.
Rationale for this change
fix cargo clippy some warning
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?