diff --git a/core/lib/src/request/from_request.rs b/core/lib/src/request/from_request.rs index 1dacb4d2..b24a0f80 100644 --- a/core/lib/src/request/from_request.rs +++ b/core/lib/src/request/from_request.rs @@ -143,14 +143,14 @@ pub type Outcome = outcome::Outcome; /// /// * **&ContentType** /// -/// Extracts the [`ContentType`] from the incoming request via +/// Extracts the [`ContentType`] header from the incoming request via /// [`Request::content_type()`]. If the request didn't specify a /// Content-Type, the request is forwarded with a 500 Internal Server Error /// status. /// -/// * **&ContentType** +/// * **&Accept** /// -/// Extracts the [`Accept`] from the incoming request via +/// Extracts the [`Accept`] header from the incoming request via /// [`Request::accept()`]. If the request didn't specify an `Accept`, the /// request is forwarded with a 500 Internal Server Error status. ///