Skip to content

Commit

Permalink
Add #![warn(missing_docs)] in lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
dlachaume committed Jan 17, 2024
1 parent 0541ace commit 14df6c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions mithril-client-wasm/src/client_wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ impl From<MithrilEvent> for MithrilEventWasm {
}
}

/// Structure that wraps a [Client] and enables its functions to be used in WASM
#[wasm_bindgen]
pub struct MithrilClient {
client: Client,
Expand Down
2 changes: 2 additions & 0 deletions mithril-client-wasm/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![warn(missing_docs)]
//! Implementation of the 'mithril-client' library in WASM
mod client_wasm;

pub use client_wasm::MithrilClient;

0 comments on commit 14df6c8

Please sign in to comment.