Skip to content

Commit

Permalink
Update docs/guide/06-responses.md
Browse files Browse the repository at this point in the history
Co-authored-by: Sergio Benitez <[email protected]>
  • Loading branch information
aznszn and SergioBenitez authored Aug 25, 2024
1 parent 987e13e commit f5c0290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/06-responses.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ where `R` is some type that implements `Responder`:
struct WrappingResponder<R>(R);
```

A wrapping responder modifies the response returned by `R` before sending the modified response. For instance, Rocket provides `Responder`s in the
A wrapping responder takes a response from `R`, modifies it, and returns it. For instance, Rocket provides `Responder`s in the
[`status` module](@api/master/rocket/response/status/) that override the status code of
the wrapped `Responder`. As an example, the [`Accepted`] type sets the status to
`202 - Accepted`. It can be used as follows:
Expand Down

0 comments on commit f5c0290

Please sign in to comment.