mirror of https://github.com/rwf2/Rocket.git
Fix typo in configuration guide: 'AssertsDir' -> 'AssetsDir'.
This commit is contained in:
parent
3d31dad760
commit
af5ee6dd15
|
@ -185,7 +185,7 @@ assets_dir = "prod_assets/"
|
|||
The following code will:
|
||||
|
||||
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.
|
||||
|
||||
```rust
|
||||
|
|
Loading…
Reference in New Issue