1
0
mirror of https://github.com/actix/actix-website synced 2025-01-22 16:15:56 +01:00
This commit is contained in:
Yuki Ishikawa 2018-05-28 12:36:30 +09:00
parent 64553f27f5
commit a8788507e8

View File

@ -314,7 +314,7 @@ Actix provides functionality for type safe path information extraction.
could be defined in several different forms. Simplest approach is to use
`tuple` type. Each element in tuple must correpond to one element from
path pattern. i.e. you can match path pattern `/{id}/{username}/` against
`Pyth<(u32, String)>` type, but `Path<(String, String, String)>` type will
`Path<(u32, String)>` type, but `Path<(String, String, String)>` type will
always fail.
{{< include-example example="url-dispatch" file="path.rs" section="path" >}}