Skip to content

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

Open
dekellum wants to merge 1 commit intohyperium:masterfrom
dekellum:static-as-str
Open

StatusCode::as_str should return a &'static str (try 3)#452
dekellum wants to merge 1 commit intohyperium:masterfrom
dekellum:static-as-str

Conversation

@dekellum
Copy link
Copy Markdown
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