Skip to content

Commit 63e3486

Browse files
committed
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.
1 parent 6fb6994 commit 63e3486

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lightning/src/routing/scoring.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ type ConfiguredTime = time::Eternity;
246246
/// [`Score`] implementation.
247247
///
248248
/// (C-not exported) generally all users should use the [`Scorer`] type alias.
249-
#[doc(hidden)]
250249
pub struct ScorerUsingTime<T: Time> {
251250
params: ScoringParameters,
252251
// TODO: Remove entries of closed channels.
@@ -493,7 +492,6 @@ pub type ProbabilisticScorer<G> = ProbabilisticScorerUsingTime::<G, ConfiguredTi
493492
/// Probabilistic [`Score`] implementation.
494493
///
495494
/// (C-not exported) generally all users should use the [`ProbabilisticScorer`] type alias.
496-
#[doc(hidden)]
497495
pub struct ProbabilisticScorerUsingTime<G: Deref<Target = NetworkGraph>, T: Time> {
498496
params: ProbabilisticScoringParameters,
499497
network_graph: G,

0 commit comments

Comments
 (0)