Fix typo in requests guide: missing ')'.

This commit is contained in:
Bryan Jennings 2019-04-11 09:39:51 -07:00 committed by Jeb Rosen
parent 06edd5fab5
commit c776c59e6a
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ fn files(file: PathBuf) -> Option<NamedFile> {
the [`StaticFiles`] custom handler from [`rocket_contrib`], which makes it as
simple as:
`rocket.mount("/public", StaticFiles::from("/static")`
`rocket.mount("/public", StaticFiles::from("/static"))`
[`rocket_contrib`]: @api/rocket_contrib/
[`StaticFiles`]: @api/rocket_contrib/serve/struct.StaticFiles.html