mirror of https://github.com/rwf2/Rocket.git
Fix typo in responses guide: 'An' -> 'As'.
This commit is contained in:
parent
b85cde4a33
commit
250d7a6f3d
|
@ -214,7 +214,7 @@ well-formed JSON data: simply return a value of type `Json<T>` where `T` is the
|
||||||
type of a structure to serialize into JSON. The type `T` must implement the
|
type of a structure to serialize into JSON. The type `T` must implement the
|
||||||
[`Serialize`] trait from [`serde`], which can be automatically derived.
|
[`Serialize`] trait from [`serde`], which can be automatically derived.
|
||||||
|
|
||||||
An an example, to respond with the JSON value of a `Task` structure, we might
|
As an example, to respond with the JSON value of a `Task` structure, we might
|
||||||
write:
|
write:
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
|
|
Loading…
Reference in New Issue