Fix typo in configuration guide: 'AssertsDir' -> 'AssetsDir'.

This commit is contained in:
benjaminbecker 2020-04-21 18:28:08 +02:00 committed by Sergio Benitez
parent 3d31dad760
commit af5ee6dd15
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ assets_dir = "prod_assets/"
The following code will: The following code will:
1. Read the configuration parameter in an ad-hoc `attach` fairing. 1. Read the configuration parameter in an ad-hoc `attach` fairing.
2. Store the parsed parameter in an `AssertsDir` structure in managed state. 2. Store the parsed parameter in an `AssetsDir` structure in managed state.
3. Retrieve the parameter in an `assets` route via the `State` guard. 3. Retrieve the parameter in an `assets` route via the `State` guard.
```rust ```rust