1
0
mirror of https://github.com/actix/actix-website synced 2024-11-24 00:41:07 +01:00

Merge pull request #12 from rider-yi/fix_typo

Fix typo
This commit is contained in:
Nikolay Kim 2018-05-28 06:57:14 -07:00 committed by GitHub
commit 51d054f15c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 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" >}}