mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-25 14:12:13 +00:00
Fix typo in arbitrary-data-with-serde.md (#1923)
This commit is contained in:
parent
0c18768098
commit
7ed152276f
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user