Skip to content

Commit

Permalink
Small change: Improve clarity in 06-responses.md
Browse files Browse the repository at this point in the history
I was reading the docs and thought the wording here could be improved.
  • Loading branch information
aznszn authored Aug 24, 2024
1 parent 72c9195 commit 987e13e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/guide/06-responses.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ where `R` is some type that implements `Responder`:
struct WrappingResponder<R>(R);
```

A wrapping responder modifies the response returned by `R` before responding
with that same response. For instance, Rocket provides `Responder`s in the
A wrapping responder modifies the response returned by `R` before sending the modified response. 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 987e13e

Please sign in to comment.