From: Jeffrey Czyz Date: Sat, 12 Feb 2022 04:14:06 +0000 (-0600) Subject: Unhide struct docs in scoring module X-Git-Tag: v0.0.105~3^2~2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=63e3486e8d9fbae7f8df2c0291170f5f6ea9f5bd;p=rust-lightning Unhide struct docs in scoring module The docs were hidden since a type alias should be used. However, the alias docs don't contain much useful information and don't link to the corresponding struct. --- diff --git a/lightning/src/routing/scoring.rs b/lightning/src/routing/scoring.rs index b02b61fa9..dfda3d2f8 100644 --- a/lightning/src/routing/scoring.rs +++ b/lightning/src/routing/scoring.rs @@ -246,7 +246,6 @@ type ConfiguredTime = time::Eternity; /// [`Score`] implementation. /// /// (C-not exported) generally all users should use the [`Scorer`] type alias. -#[doc(hidden)] pub struct ScorerUsingTime { params: ScoringParameters, // TODO: Remove entries of closed channels. @@ -493,7 +492,6 @@ pub type ProbabilisticScorer = ProbabilisticScorerUsingTime::, T: Time> { params: ProbabilisticScoringParameters, network_graph: G,