docs(napi): prettier

This commit is contained in:
LongYinan 2021-12-03 16:31:03 +08:00
parent 2d5b997b7d
commit 77dab3e9f7
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7

View file

@ -1194,7 +1194,7 @@ impl Env {
})
}
/// # Serialize `Rust Struct` into `JavaScript Value`
/// ### Serialize `Rust Struct` into `JavaScript Value`
///
/// ```
/// #[derive(Serialize, Debug, Deserialize)]
@ -1220,7 +1220,7 @@ impl Env {
node.serialize(s).map(JsUnknown)
}
/// # Deserialize data from `JsValue`
/// ### Deserialize data from `JsValue`
/// ```
/// #[derive(Serialize, Debug, Deserialize)]
/// struct AnObject {