From 77dab3e9f764146d94690b9283ba524c779e89cb Mon Sep 17 00:00:00 2001 From: LongYinan Date: Fri, 3 Dec 2021 16:31:03 +0800 Subject: [PATCH] docs(napi): prettier --- crates/napi/src/env.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/napi/src/env.rs b/crates/napi/src/env.rs index 50842a6b..13599bc4 100644 --- a/crates/napi/src/env.rs +++ b/crates/napi/src/env.rs @@ -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 {