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

Remove an unnecessary error return value by compiling the regex #1977

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

gm42
Copy link
Contributor

@gm42 gm42 commented Mar 20, 2024

Description

Move regex compilation to the init() function of the module, freeing up an unused error return value.

Type of change

  • Other

Discussion

It is a trivial change to make functions a bit nicer to use.

Testing

Pre-existing tests were updated.

Documentation

Does not apply.

Follow-up

No follow-up needed.

Copy link
Member

@johscheuer johscheuer left a comment

Choose a reason for hiding this comment

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

Changes LGTM 👍 I'll start an e2e test for the changes.

Thanks!

@johscheuer johscheuer merged commit 2ee6d05 into FoundationDB:main Mar 21, 2024
7 checks passed
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.

None yet

2 participants