Fix incorrect 'Accept' swap in rustdocs.

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

View File

@ -144,14 +144,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.
/// ///