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

rust: fix clippy issues #12220

Closed
wants to merge 5 commits into from
Closed

rust: fix clippy issues #12220

wants to merge 5 commits into from

Conversation

jlucovsky
Copy link
Contributor

Continuation of #12201

Based on #12171

Backport clippy fixes to main-7.0.x

Description:

  • Cargo.lock update process: (cd rust; cargo update); make; (cd rust; cp Cargo.lock Cargo.lock.in)
  • num-derive -- update version tag in Cargo.toml.in
  • Cherry-pick: 7bdbe7e, aa6e94f, 4c12165

jlucovsky and others added 5 commits December 4, 2024 08:29
Issue: none

Update cargo and commit the changes
Fix provided by cargo clippy --fix.

(cherry picked from commit 7bdbe7e)
'///' style rust comments/documentation come before the item being
documented.

Spotted by clippy.

(cherry picked from commit aa6e94f)
But we should fix all these soon.

(cherry picked from commit 4c12165)
@@ -33,7 +33,7 @@ crc = "~1.8.1"
lzma-rs = { version = "~0.2.0", features = ["stream"] }
memchr = "~2.4.1"
num = "~0.2.1"
num-derive = "~0.2.5"
num-derive = "~0.4.2"
Copy link
Member

Choose a reason for hiding this comment

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

I would expect a cargo lock update to go with this commit

]

[[package]]
name = "num-derive"
version = "0.2.5"
version = "0.4.2"
Copy link
Member

Choose a reason for hiding this comment

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

this already has 0.4.2, but it should go before the update?

@@ -3,10 +3,10 @@
version = 3
Copy link
Member

Choose a reason for hiding this comment

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

I don't see the point of having 'Issue: none' in the commit message

@jasonish
Copy link
Member

jasonish commented Dec 4, 2024

New version at #12223.

@jasonish jasonish closed this Dec 4, 2024
@jlucovsky jlucovsky deleted the clippy/3 branch December 5, 2024 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants