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

feat: change Protocol.Server.cancel_message/2 function a macro #495

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

hauleth
Copy link
Contributor

@hauleth hauleth commented Nov 25, 2024

This allows us to use this piece of code in function head in pattern
match. This reduces places where the magic value is required and make
the code a little bit neater and cleaner.

@hauleth hauleth requested a review from a team as a code owner November 25, 2024 12:11
This allows us to use this piece of code in function head in pattern
match. This reduces places where the magic value is required and make
the code a little bit neater and cleaner.
@hauleth hauleth force-pushed the feat/make-cancel_message-macro branch from d32bc49 to c589f03 Compare November 25, 2024 12:32
@hauleth hauleth merged commit 9453cf8 into v2 Nov 25, 2024
6 checks passed
@hauleth hauleth deleted the feat/make-cancel_message-macro branch November 25, 2024 18:08
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