-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
stat.rs: Refactor to remove #[allow(clippy::cognitive_complexity)]
#5881
Labels
Comments
Hi if i understand correctly i have to remove the macro #[allow(clippy::cognitive_complexity)] |
correct :) |
Thank you i am doing it |
Hi i have question, i have done as it was asked but
or it is okay |
biplab5464
pushed a commit
to biplab5464/coreutils
that referenced
this issue
Jan 28, 2024
Hi @sylvestre, any comment on it |
biplab5464
pushed a commit
to biplab5464/coreutils
that referenced
this issue
Jan 31, 2024
…cognitive_complexity)] uutils#5881
biplab5464
pushed a commit
to biplab5464/coreutils
that referenced
this issue
Jan 31, 2024
biplab5464
pushed a commit
to biplab5464/coreutils
that referenced
this issue
Feb 1, 2024
…itive_complexity)] uutils#5881
biplab5464
pushed a commit
to biplab5464/coreutils
that referenced
this issue
Feb 1, 2024
…itive_complexity)] uutils#5881
cakebaker
pushed a commit
that referenced
this issue
Feb 1, 2024
…5881 (#5924) * stat.rs: Refactor to remove #[allow(clippy::cognitive_complexity)] #5881 * remvoe Vec when ruturing stat.rs: Refactor to remove #[allow(clippy::cognitive_complexity)] #5881 * formmating issue stat.rs: Refactor to remove #[allow(clippy::cognitive_complexity)] #5881 * cakebaker suggestion stat.rs: Refactor to remove #[allow(clippy::cognitive_complexity)] #5881 * sytle and lint issue stat.rs: Refactor to remove #[allow(clippy::cognitive_complexity)] #5881 --------- Co-authored-by: biplab5464 <[email protected]>
ysthakur
pushed a commit
to ysthakur/coreutils
that referenced
this issue
Feb 27, 2024
…utils#5881 (uutils#5924) * stat.rs: Refactor to remove #[allow(clippy::cognitive_complexity)] uutils#5881 * remvoe Vec when ruturing stat.rs: Refactor to remove #[allow(clippy::cognitive_complexity)] uutils#5881 * formmating issue stat.rs: Refactor to remove #[allow(clippy::cognitive_complexity)] uutils#5881 * cakebaker suggestion stat.rs: Refactor to remove #[allow(clippy::cognitive_complexity)] uutils#5881 * sytle and lint issue stat.rs: Refactor to remove #[allow(clippy::cognitive_complexity)] uutils#5881 --------- Co-authored-by: biplab5464 <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https:/uutils/coreutils/blob/main/src/uu/stat/src/stat.rs#L407
A potential way to do it:
The text was updated successfully, but these errors were encountered: