Fix incorrect 'Accept' swap in rustdocs.

Resolves #2743.
This commit is contained in:
Sergio Benitez 2024-03-04 21:21:26 -08:00
parent c8b945c982
commit cacd4578a2
1 changed files with 3 additions and 3 deletions

View File

@ -143,14 +143,14 @@ pub type Outcome<S, E> = outcome::Outcome<S, (Status, E), Status>;
/// ///
/// * **&ContentType** /// * **&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 /// [`Request::content_type()`]. If the request didn't specify a
/// Content-Type, the request is forwarded with a 500 Internal Server Error /// Content-Type, the request is forwarded with a 500 Internal Server Error
/// status. /// 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::accept()`]. If the request didn't specify an `Accept`, the
/// request is forwarded with a 500 Internal Server Error status. /// request is forwarded with a 500 Internal Server Error status.
/// ///