Skip to content

Commit

Permalink
Fix typo in configuration guide: 'AssertsDir' -> 'AssetsDir'.
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminbecker authored and SergioBenitez committed May 29, 2020
1 parent 3d31dad commit af5ee6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/guide/9-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit af5ee6d

Please sign in to comment.