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

Derive additional useful traits for ResponseCode #35

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

leftmostcat
Copy link
Collaborator

ResponseCode is no longer String-based, so we can use Copy. It might also make sense to provide a default value of NoError for cases where it might be the contents of an Option.

@babolivier
Copy link
Member

Merging myself in Sean's absence

@babolivier babolivier merged commit a1d8e4a into main Nov 28, 2024
2 checks passed
@babolivier babolivier deleted the make-response-code-copy branch November 28, 2024 11:08
hellsworth pushed a commit to hellsworth/ews-rs that referenced this pull request Dec 2, 2024
`ResponseCode` is no longer `String`-based, so we can use `Copy`. It might also make sense to provide a default value of `NoError` for cases where it might be the contents of an `Option`.
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