Skip to content

Conversation

@andrewliebenow
Copy link
Contributor

Also: fix -c 0 and -n 0 bug
Also: add some simple optimizations

Also: fix -c 0 and -n 0 bug Also: add some simple optimizations
match self {
Self::File(_, ref mut bu) => bu,
Self::Stdin(ref mut st) => st,
}
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't like the "foo or bar" naming. Merging anyway, but file this thought for processing.

@jgarzik jgarzik merged commit a08d82d into rustcoreutils:main Oct 20, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants