refactor(headers): Improve docs, fix nits, make formatting faster
src/header/parsing.rs now uses unsafe get_unchecked() again, I don't know why it was removed.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
header! {
|
||||
#[doc="`Access-Control-Max-Age` header, part of"]
|
||||
#[doc="[CORS](www.w3.org/TR/cors/#access-control-max-age-response-header)"]
|
||||
#[doc="[CORS](http://www.w3.org/TR/cors/#access-control-max-age-response-header)"]
|
||||
#[doc=""]
|
||||
#[doc="The `Access-Control-Max-Age` header indicates how long the results of a"]
|
||||
#[doc="preflight request can be cached in a preflight result cache."]
|
||||
|
||||
Reference in New Issue
Block a user