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:
@@ -2,7 +2,7 @@ use method::Method;
|
||||
|
||||
header! {
|
||||
#[doc="`Access-Control-Request-Method` header, part of"]
|
||||
#[doc="[CORS](www.w3.org/TR/cors/#access-control-request-method-request-header)"]
|
||||
#[doc="[CORS](http://www.w3.org/TR/cors/#access-control-request-method-request-header)"]
|
||||
#[doc=""]
|
||||
#[doc="The `Access-Control-Request-Method` header indicates which method will be"]
|
||||
#[doc="used in the actual request as part of the preflight request."]
|
||||
|
||||
Reference in New Issue
Block a user