commit 4a0fee4129d053e0730d4de07f17268befc37781
parent 746023fe1ff2f883e6a49d69466842f3981bcf5c
Author: Andrew <jabbrass@zoho.com>
Date: Sun, 9 Dec 2018 00:19:04 -0800
Fix typo in requests guide: 'of' -> 'or'.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/site/guide/4-requests.md b/site/guide/4-requests.md
@@ -618,7 +618,7 @@ fn good(custom: Custom, cookies: Cookies) { .. }
A route can specify the data format it is willing to accept or respond with by
using the `format` route parameter. The value of the parameter is a string
identifying an HTTP media type or a shorthand variant. For instance, for JSON
-data, the string `application/json` of simply `json` can be used.
+data, the string `application/json` or simply `json` can be used.
When a route indicates a payload-supporting method (`PUT`, `POST`, `DELETE`, and
`PATCH`), the `format` route parameter instructs Rocket to check against the