diff --git a/guide/src/reference/arbitrary-data-with-serde.md b/guide/src/reference/arbitrary-data-with-serde.md index 9d1109f5..87f4ab93 100644 --- a/guide/src/reference/arbitrary-data-with-serde.md +++ b/guide/src/reference/arbitrary-data-with-serde.md @@ -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.