Fix typo in 'json' docs: extraneous 'or'.

Fixes #1320.
This commit is contained in:
Jeb Rosen 2020-07-19 09:20:19 -07:00 committed by Sergio Benitez
parent 31ddb0de45
commit 0ad1c49ddd
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ pub use serde_json::{json_internal, json_internal_vec};
/// If you're receiving JSON data, simply add a `data` parameter to your route /// If you're receiving JSON data, simply add a `data` parameter to your route
/// arguments and ensure the type of the parameter is a `Json<T>`, where `T` is /// arguments and ensure the type of the parameter is a `Json<T>`, where `T` is
/// some type you'd like to parse from JSON. `T` must implement [`Deserialize`] /// some type you'd like to parse from JSON. `T` must implement [`Deserialize`]
/// or from [`serde`]. The data is parsed from the HTTP request body. /// from [`serde`]. The data is parsed from the HTTP request body.
/// ///
/// ```rust /// ```rust
/// # #[macro_use] extern crate rocket; /// # #[macro_use] extern crate rocket;