mirror of https://github.com/rwf2/Rocket.git
Fix typo in state guide: 'simple' -> 'simply'.
This commit is contained in:
parent
ab4b0f4e1d
commit
2f7ba33ff7
|
@ -72,7 +72,7 @@ fn state(hit_count: State<HitCount>, config: State<Config>) -> T { ... }
|
|||
### Within Guards
|
||||
|
||||
It can also be useful to retrieve managed state from a `FromRequest`
|
||||
implementation. To do so, simple invoke `State<T>` as a guard using the
|
||||
implementation. To do so, simply invoke `State<T>` as a guard using the
|
||||
[`Request::guard()`] method.
|
||||
|
||||
```rust
|
||||
|
|
Loading…
Reference in New Issue