diff --git a/content/docs/extractors.md b/content/docs/extractors.md index 023362a..489e4f6 100644 --- a/content/docs/extractors.md +++ b/content/docs/extractors.md @@ -22,7 +22,7 @@ function. ```rust // Option 1: passed as a parameter to a handler function -fn index(params: Path<(String, String,)>, info: Json) -> HttpResponse { +fn index((params, info): (Path<(String, String,)>, Json)) -> HttpResponse { ... }