mirror of
https://github.com/actix/actix-website
synced 2025-01-23 00:25:55 +01:00
Fix typo
This commit is contained in:
parent
64553f27f5
commit
a8788507e8
@ -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
|
could be defined in several different forms. Simplest approach is to use
|
||||||
`tuple` type. Each element in tuple must correpond to one element from
|
`tuple` type. Each element in tuple must correpond to one element from
|
||||||
path pattern. i.e. you can match path pattern `/{id}/{username}/` against
|
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.
|
always fail.
|
||||||
|
|
||||||
{{< include-example example="url-dispatch" file="path.rs" section="path" >}}
|
{{< include-example example="url-dispatch" file="path.rs" section="path" >}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user