From e5efcdcd9fd6c9320046e559aea38d883a68f6ad Mon Sep 17 00:00:00 2001 From: DD5HT Date: Sun, 22 Jul 2018 21:17:39 +0200 Subject: [PATCH] add missing unwrap --- content/docs/static-files.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/static-files.md b/content/docs/static-files.md index d28ff30..7bf387f 100644 --- a/content/docs/static-files.md +++ b/content/docs/static-files.md @@ -123,7 +123,7 @@ fn main() { App::new() .handler( "/static", - StaticFiles::with_config(".", MyConfig) + StaticFiles::with_config(".", MyConfig).unwrap() .show_files_listing() ).finish(); }