Skip to content

Commit

Permalink
Fix incorrect 'Accept' swap in rustdocs.
Browse files Browse the repository at this point in the history
Resolves #2743.
  • Loading branch information
SergioBenitez committed Mar 5, 2024
1 parent 4f12bfb commit d7bcef6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/lib/src/request/from_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,14 @@ pub type Outcome<S, E> = outcome::Outcome<S, (Status, E), Status>;
///
/// * **&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.
///
Expand Down

0 comments on commit d7bcef6

Please sign in to comment.