diff --git a/core/lib/src/request/from_request.rs b/core/lib/src/request/from_request.rs index 279b35cd..25c33e73 100644 --- a/core/lib/src/request/from_request.rs +++ b/core/lib/src/request/from_request.rs @@ -144,14 +144,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. ///