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

Minor code style improvements in raw mode tests #312

Merged
merged 1 commit into from
Oct 26, 2023
Merged

Conversation

cyqsimon
Copy link
Collaborator

  • Build regex only once using once_cell::sync::Lazy
  • Reduce code duplication

- Build regex only once using `once_cell::sync::Lazy`
- Reduce code duplication
@cyqsimon cyqsimon merged commit 34713f6 into main Oct 26, 2023
9 of 10 checks passed
@cyqsimon cyqsimon deleted the raw-mode-test-imprv branch October 26, 2023 03:53
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.

1 participant