mirror of
https://github.com/rwf2/Rocket.git
synced 2025-02-23 00:52:07 +00:00
Fix typo in site overview: 'Reponder' -> 'Responder'.
This commit is contained in:
parent
7c20604493
commit
aec7fee4aa
@ -123,7 +123,7 @@ the standard library types including `&str`, `String`, `File`, `Option`, and
|
|||||||
[Flash](https://api.rocket.rs/rocket/response/struct.Flash.html), and
|
[Flash](https://api.rocket.rs/rocket/response/struct.Flash.html), and
|
||||||
[Template](https://api.rocket.rs/rocket_contrib/struct.Template.html).
|
[Template](https://api.rocket.rs/rocket_contrib/struct.Template.html).
|
||||||
|
|
||||||
The task of a `Reponder` is to generate a
|
The task of a `Responder` is to generate a
|
||||||
[Response](https://api.rocket.rs/rocket/response/struct.Response.html), if
|
[Response](https://api.rocket.rs/rocket/response/struct.Response.html), if
|
||||||
possible. `Responder`s can fail with a status code. When they do, Rocket calls
|
possible. `Responder`s can fail with a status code. When they do, Rocket calls
|
||||||
the corresponding `error` route, which can be declared as follows:
|
the corresponding `error` route, which can be declared as follows:
|
||||||
|
Loading…
Reference in New Issue
Block a user