Fix typo in state guide: 'simple' -> 'simply'.

This commit is contained in:
Richard McCormack 2017-10-16 20:43:59 -04:00 committed by Sergio Benitez
parent ab4b0f4e1d
commit 2f7ba33ff7
1 changed files with 1 additions and 1 deletions

View File

@ -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