mirror of https://github.com/rwf2/Rocket.git
Remove unnecessary word in state docs.
This commit is contained in:
parent
219a8a5468
commit
6742041468
|
@ -105,7 +105,7 @@ fn state(hit_count: &State<HitCount>, config: &State<Config>) { /* .. */ }
|
||||||
refuse to start your application. This prevents what would have been an
|
refuse to start your application. This prevents what would have been an
|
||||||
unmanaged state runtime error. Unmanaged state is detected at runtime through
|
unmanaged state runtime error. Unmanaged state is detected at runtime through
|
||||||
[_sentinels_](@api/rocket/trait.Sentinel.html), so there are limitations. If a
|
[_sentinels_](@api/rocket/trait.Sentinel.html), so there are limitations. If a
|
||||||
limitation is hit, Rocket still won't call an the offending route. Instead,
|
limitation is hit, Rocket still won't call the offending route. Instead,
|
||||||
Rocket will log an error message and return a **500** error to the client.
|
Rocket will log an error message and return a **500** error to the client.
|
||||||
|
|
||||||
You can find a complete example using the `HitCount` structure in the [state
|
You can find a complete example using the `HitCount` structure in the [state
|
||||||
|
|
Loading…
Reference in New Issue