Skip to content

uudoc,chcon: fix needless_lifetimes warnings #6899

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

Merged
merged 1 commit into from
Nov 30, 2024

Conversation

cakebaker
Copy link
Contributor

This PR fixes two additional warnings from the needless_lifetimes lint. They show up when running cargo clippy --all-features --all-targets.

Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)

@sylvestre sylvestre merged commit 37fb0a0 into uutils:main Nov 30, 2024
61 of 62 checks passed
@sylvestre
Copy link
Contributor

They show up when running cargo clippy --all-features --all-targets.

Means that we don't have this in the CI ?

@cakebaker cakebaker deleted the clippy_fix_needless_lifetimes branch November 30, 2024 09:04
@cakebaker
Copy link
Contributor Author

Yes, in the CI we don't use --all-features but --features with the platform-specific features like feat_os_unix.

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