mirror of https://github.com/rwf2/Rocket.git
Fix typo in configuration guide: 'AssertsDir' -> 'AssetsDir'.
This commit is contained in:
parent
94a222f6fe
commit
1010f6a2a8
|
@ -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