Skip to content

refactor: fix needless_borrows_for_generic_args clippy lint - #14920

Merged
cakebaker merged 1 commit into
uutils:mainfrom
xtqqczze:refactor/needless_borrows_for_generic_args
Oct 2, 2026
Merged

cakebaker merged 1 commit into
uutils:mainfrom
xtqqczze:refactor/needless_borrows_for_generic_args

Conversation

@xtqqczze

Copy link
Copy Markdown
Collaborator

@xtqqczze

Copy link
Copy Markdown
Collaborator Author

Need to check targets other than aarch64-apple-darwin.

@xtqqczze
xtqqczze force-pushed the refactor/needless_borrows_for_generic_args branch from a0da3b2 to deb665f Compare September 28, 2026 16:51
@xtqqczze

xtqqczze commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator Author

Verification for Linux targets should be a command like:

RUSTC_BOOTSTRAP=1 cargo +beta hack clippy -Zbuild-std -q --all-targets --each-feature --exclude-features=unix,windows,openssl,selinux,feat_external_libstdbuf,feat_os_unix,feat_os_unix_android,feat_os_unix_gnueabihf,feat_os_windows,feat_require_selinux,feat_require_unix,feat_selinux --target=x86_64-unknown-linux-gnu -- -A clippy::assert_is_empty

@xtqqczze
xtqqczze force-pushed the refactor/needless_borrows_for_generic_args branch from deb665f to d827410 Compare October 1, 2026 12:51
@xtqqczze
xtqqczze marked this pull request as ready for review October 1, 2026 13:24
@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

GNU testsuite comparison:

Congrats! The gnu test tests/id/setgid is no longer failing!

@cakebaker
cakebaker merged commit 61a3e74 into uutils:main Oct 2, 2026
93 of 98 checks passed
@cakebaker

Copy link
Copy Markdown
Contributor

Thanks!

@xtqqczze
xtqqczze deleted the refactor/needless_borrows_for_generic_args branch October 2, 2026 07:30
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.

fix needless_borrows_for_generic_args clippy lint

2 participants