Skip to content

Commit 7ed1522

Browse files
mbrobbelalexcrichton
authored andcommitted
Fix typo in arbitrary-data-with-serde.md (#1923)
1 parent 0c18768 commit 7ed1522

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guide/src/reference/arbitrary-data-with-serde.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ extern crate serde_derive;
3434

3535
## Derive the `Serialize` and `Deserialize` Traits
3636

37-
Add `#![derive(Serialize, Deserialize)]` to your type. All of your type's
37+
Add `#[derive(Serialize, Deserialize)]` to your type. All of your type's
3838
members must also be supported by Serde, i.e. their types must also implement
3939
the `Serialize` and `Deserialize` traits.
4040

0 commit comments

Comments
 (0)