Rocket

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit c776c59e6a7018f140c19b67af8f03c7f8a5fee2
parent 06edd5fab5d8cd821c13e67f6d4dba84366fe5c5
Author: Bryan Jennings <bryanjenningz@gmail.com>
Date:   Thu, 11 Apr 2019 09:39:51 -0700

Fix typo in requests guide: missing ')'.

Diffstat:
Msite/guide/4-requests.md | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/site/guide/4-requests.md b/site/guide/4-requests.md @@ -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