From 63e3486e8d9fbae7f8df2c0291170f5f6ea9f5bd Mon Sep 17 00:00:00 2001 From: Jeffrey Czyz Date: Fri, 11 Feb 2022 22:14:06 -0600 Subject: [PATCH] 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. --- lightning/src/routing/scoring.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/lightning/src/routing/scoring.rs b/lightning/src/routing/scoring.rs index b02b61fa..dfda3d2f 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, -- 2.30.2