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

Make StatusCode methods const #591

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stormshield-kg
Copy link

Having const methods for http::StatusCode allows using them in a const context.
It is useful when using the response method of the aide documentation crate for axum.

@stormshield-kg stormshield-kg force-pushed the const-statuscode-methods branch from 9a94c5d to 797b5dc Compare September 20, 2024 11:20
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