Skip to content

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

Merged
cakebaker merged 2 commits intouutils:mainfrom
sylvestre:wc-s
Oct 7, 2023
Merged

head: remove a clippy::cognitive_complexity by moving some content in a function#5366
cakebaker merged 2 commits intouutils:mainfrom
sylvestre:wc-s

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
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