Fix typo in arbitrary-data-with-serde.md (#1923)

This commit is contained in:
Matthijs Brobbel 2020-01-06 16:27:05 +01:00 committed by Alex Crichton
parent 0c18768098
commit 7ed152276f

View File

@ -34,7 +34,7 @@ extern crate serde_derive;
## Derive the `Serialize` and `Deserialize` Traits
Add `#![derive(Serialize, Deserialize)]` to your type. All of your type's
Add `#[derive(Serialize, Deserialize)]` to your type. All of your type's
members must also be supported by Serde, i.e. their types must also implement
the `Serialize` and `Deserialize` traits.