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

head: remove a clippy::cognitive_complexity by moving some content in a function #5366

Merged
merged 2 commits into from
Oct 7, 2023

Conversation

sylvestre
Copy link
Contributor

No description provided.

@cakebaker cakebaker changed the title wc: remove a clippy::cognitive_complexity by moving some content in a function head: remove a clippy::cognitive_complexity by moving some content in a function Oct 7, 2023
Comment on lines 41 to 44
/// Processes the numeric block of the input string to generate the appropriate options.
///
/// This function is responsible for parsing the numeric section of the input string
/// and generating the corresponding options based on the parsed value and subsequent characters.
Copy link
Contributor

Choose a reason for hiding this comment

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

Both sentences say more or less the same, so I think one of them can be removed.

Copy link
Contributor

@cakebaker cakebaker left a comment

Choose a reason for hiding this comment

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

The code looks good, only the commit message is incorrect as the change is about head and not wc.

@cakebaker cakebaker merged commit 3e1d3ca into uutils:main Oct 7, 2023
41 of 45 checks passed
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