Skip to content

Minor code style improvements in raw mode tests#312

Merged
cyqsimon merged 1 commit intomainfrom
raw-mode-test-imprv
Oct 26, 2023
Merged

Minor code style improvements in raw mode tests#312
cyqsimon merged 1 commit intomainfrom
raw-mode-test-imprv

Conversation

@cyqsimon
Copy link
Copy Markdown
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
@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