File tree 4 files changed +7
-7
lines changed 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 24
24
run : cargo build --verbose --color always
25
25
- name : Build with UniFFI support on Rust ${{ matrix.toolchain }}
26
26
run : cargo build --features uniffi --verbose --color always
27
+ - name : Build documentation on Rust ${{ matrix.toolchain }}
28
+ run : |
29
+ cargo doc --release --verbose --color always
30
+ cargo doc --document-private-items --verbose --color always
27
31
- name : Check release build on Rust ${{ matrix.toolchain }}
28
32
run : cargo check --release --verbose --color always
29
33
- name : Check release build with UniFFI support on Rust ${{ matrix.toolchain }}
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ pub(crate) const LATEST_NODE_ANN_BCAST_TIMESTAMP_KEY: &str = "latest_node_ann_bc
50
50
/// Keys and namespaces are required to be valid ASCII strings and the empty namespace (`""`) is
51
51
/// assumed to be valid namespace.
52
52
pub trait KVStore : KVStorePersister {
53
+ /// A reader as returned by [`Self::read`].
53
54
type Reader : Read ;
54
55
/// Returns a [`Read`] for the given `namespace` and `key` from which [`Readable`]s may be
55
56
/// read.
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ where
106
106
} )
107
107
}
108
108
109
- /// Read a previously persisted [`Scorer `] from the store.
109
+ /// Read a previously persisted [`ProbabilisticScorer `] from the store.
110
110
pub ( crate ) fn read_scorer <
111
111
K : KVStore + Send + Sync ,
112
112
G : Deref < Target = NetworkGraph < L > > ,
Original file line number Diff line number Diff line change 63
63
//! [`connect_open_channel`]: Node::connect_open_channel
64
64
//! [`send_payment`]: Node::send_payment
65
65
//!
66
-
67
- // We currently disable the missing_docs lint due to incompatibility with the generated Uniffi
68
- // scaffolding.
69
- // TODO: Re-enable after https://github.com/mozilla/uniffi-rs/issues/1502 has been
70
- // addressed.
71
- //#![deny(missing_docs)]
66
+ #![ cfg_attr( not( feature = "uniffi" ) , deny( missing_docs) ) ]
72
67
#![ deny( rustdoc:: broken_intra_doc_links) ]
73
68
#![ deny( rustdoc:: private_intra_doc_links) ]
74
69
#![ allow( bare_trait_objects) ]
You can’t perform that action at this time.
0 commit comments