Skip to content

Commit c1b9fe4

Browse files
author
Damien LACHAUME / PALO-IT
committed
Add #![warn(missing_docs)] in lib.rs
1 parent cdb76c9 commit c1b9fe4

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

mithril-client-wasm/src/client_wasm.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ impl From<MithrilEvent> for MithrilEventWasm {
5050
}
5151
}
5252

53+
/// Structure that wraps a [Client] and enables its functions to be used in WASM
5354
#[wasm_bindgen]
5455
pub struct MithrilClient {
5556
client: Client,

mithril-client-wasm/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![warn(missing_docs)]
2+
//! Implementation of the 'mithril-client' library in WASM
13
mod client_wasm;
24

35
pub use client_wasm::MithrilClient;

0 commit comments

Comments
 (0)