From 7228ae35434f24a162ca28391689e7949d35e95b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20Wa=C5=82kuski?= Date: Sat, 29 Apr 2017 20:26:27 +0200 Subject: [PATCH] Fix typo in the guides Just a minor thing... --- site/guide/requests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/guide/requests.md b/site/guide/requests.md index 57b5dec1..bb454036 100644 --- a/site/guide/requests.md +++ b/site/guide/requests.md @@ -155,7 +155,7 @@ fn get_page(path: PathBuf) -> T { ... } The path after `/page/` will be available in the `path` parameter. The `FromSegments` implementation for `PathBuf` ensures that `path` cannot lead to [path traversal attacks](https://www.owasp.org/index.php/Path_Traversal). With -this, a safe and secure static file server can implemented in 4 lines: +this, a safe and secure static file server can be implemented in 4 lines: ```rust #[get("/")]