mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-17 23:19:06 +00:00
Fix typo in requests guide: forgot 'be'.
This commit is contained in:
parent
f3f2803b0e
commit
82c52c903a
@ -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("/<file..>")]
|
||||
|
Loading…
Reference in New Issue
Block a user