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

StatusCode::as_str should return a &'static str (try 3) #452

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

Conversation

dekellum
Copy link
Contributor

@dekellum dekellum commented Dec 11, 2020

After various other changes, make StatusCode::as_str return a &'static str.

Since 'static is a longer lifetime, I don't think this constitutes a breaking change, but like #443, this could be merged for release of a new MINOR (0.3.0) or MAJOR (1.0.0), just to be cautious.

(Supersedes) closes: #380, closes: #436 (I rebased #380 here).

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