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

Allow Error::set_status to take TryInto<StatusCode> #249

Merged
merged 1 commit into from
Sep 27, 2020
Merged

Conversation

yoshuawuyts
Copy link
Member

This is a minor annoyance when working with status codes. This brings it in line with the rest of our methods. Thanks!

@yoshuawuyts
Copy link
Member Author

Fix for clippy in #250. Waiting for PR to pass so we can rebase.

@yoshuawuyts
Copy link
Member Author

Oki, merging. The new release contains many similar APIs and this was mostly left behind on accident it seems.

@yoshuawuyts yoshuawuyts merged commit bbbca57 into main Sep 27, 2020
@delete-merged-branch delete-merged-branch bot deleted the set-status branch September 27, 2020 10:52
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