mirror of https://github.com/rwf2/Rocket.git
Fix typo in fairings guide: 'event' -> 'events'.
This commit is contained in:
parent
f056ac3e20
commit
0be4f4b937
|
@ -8,7 +8,7 @@ about incoming requests and outgoing responses.
|
||||||
|
|
||||||
Any type that implements the [`Fairing`] trait is a _fairing_. Fairings hook
|
Any type that implements the [`Fairing`] trait is a _fairing_. Fairings hook
|
||||||
into Rocket's request lifecycle, receiving callbacks for events such as incoming
|
into Rocket's request lifecycle, receiving callbacks for events such as incoming
|
||||||
requests and outgoing responses. Rocket passes information about these event to
|
requests and outgoing responses. Rocket passes information about these events to
|
||||||
the fairing, and the fairing can do what it wants with the information. This
|
the fairing, and the fairing can do what it wants with the information. This
|
||||||
includes rewriting data when applicable, recording information about the event
|
includes rewriting data when applicable, recording information about the event
|
||||||
or data, or doing nothing at all.
|
or data, or doing nothing at all.
|
||||||
|
|
Loading…
Reference in New Issue