Skip to content

uudoc,chcon: fix needless_lifetimes warnings#6899

Merged
sylvestre merged 1 commit intouutils:mainfrom
cakebaker:clippy_fix_needless_lifetimes
Nov 30, 2024
Merged

uudoc,chcon: fix needless_lifetimes warnings#6899
sylvestre merged 1 commit intouutils:mainfrom
cakebaker:clippy_fix_needless_lifetimes

Conversation

@cakebaker
Copy link
Copy Markdown
Contributor

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

@github-actions
Copy link
Copy Markdown

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
@sylvestre
Copy link
Copy Markdown
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
Copy Markdown
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