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

printer.rs: De-duplicate code to highlight long lines #2182

Merged
merged 1 commit into from
May 5, 2022

Conversation

Enselic
Copy link
Collaborator

@Enselic Enselic commented May 5, 2022

We do this to only have one invocation of highlighter.highlight(...)
so we don't need to change to highlighter.highlight_line(...) in two
places in #2181.

We do this to only have one invocation of `highlighter.highlight(...)`
so we don't need to change to `highlighter.highlight_line(...)` in two
places in sharkdp#2181.
@Enselic Enselic requested a review from keith-hall May 5, 2022 05:10
@Enselic Enselic merged commit 0851bbb into sharkdp:master May 5, 2022
@Enselic Enselic deleted the deduplicate-highlight branch May 5, 2022 15:21
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