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

refactor(model): simplify closecode::can_reconnect #2158

Merged
merged 1 commit into from
Feb 20, 2023

Conversation

zeylahellyer
Copy link
Member

Simplify the implementation of CloseCode::can_reconnect to be a matches! statement instead of a match statement returning a boolean.

Simplify the implementation of `CloseCode::can_reconnect` to be a
`matches!` statement instead of a `match` statement returning a boolean.
@github-actions github-actions bot added c-model Affects the model crate t-refactor Refactors APIs or code. labels Feb 18, 2023
@zeylahellyer zeylahellyer merged commit 9117589 into main Feb 20, 2023
@zeylahellyer zeylahellyer deleted the zeyla/refactor-model-gateway-close-code-list branch February 20, 2023 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-model Affects the model crate t-refactor Refactors APIs or code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants