Fix typo in pastebin tutorial.

This commit is contained in:
Indosaram 2023-03-23 10:31:23 -07:00 committed by Sergio Benitez
parent 2191369b37
commit a62cc654be

View File

@ -307,7 +307,7 @@ using a type more specific than `&str` to represent IDs and then asking Rocket
to validate the untrusted `id` input as that type. If validation fails, Rocket
will take care to not call our routes with bad input.
Typed validation for dynamic paramters like `id` is implemented via the
Typed validation for dynamic parameters like `id` is implemented via the
[`FromParam`] trait. Rocket uses `FromParam` to automatically validate and parse
dynamic path parameters like `id`. We already have a type that represents valid
paste IDs, `PasteId`, so we'll simply need to implement `FromParam` for