Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit 9421735

Browse files
Merge pull request #803 from MutinyWallet/cargo-doc
Have CI check docs
2 parents b301487 + 0929a9f commit 9421735

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,17 @@ jobs:
2525
uses: actions-rs/toolchain@v1
2626
with:
2727
toolchain: nightly
28+
target: wasm32-unknown-unknown
2829
components: rustfmt
2930
profile: minimal
3031

3132
- name: Check formatting
3233
run: |
3334
cargo +nightly fmt -- --check
3435
36+
- name: Check docs
37+
run: cargo +nightly doc
38+
3539
website:
3640
name: Build WASM binary
3741
runs-on: ubuntu-latest

mutiny-core/src/scb/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub const SCB_ENCRYPTION_KEY_DERIVATION_PATH: &str = "m/444'/444'/444'";
2222
#[derive(Default, PartialEq, Eq, Clone)]
2323
pub struct StaticChannelBackup {
2424
/// Map of the channel outpoint to the channel monitor
25-
/// This is a Vec<u8> because we can't implement Readable for ChannelMonitor
25+
/// This is a `Vec<u8>` because we can't implement Readable for ChannelMonitor
2626
/// without having a KeysManager, which we don't have here.
2727
pub(crate) monitors: HashMap<OutPoint, Vec<u8>>,
2828
}

mutiny-wasm/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
extern crate mutiny_core;
99

10-
mod error;
10+
pub mod error;
1111
mod indexed_db;
1212
mod models;
1313
mod utils;

0 commit comments

Comments
 (0)