Skip to content

Commit 159ab47

Browse files
committed
f - Use #[doc(hidden)]
1 parent 2b477aa commit 159ab47

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lightning/src/routing/scoring.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,14 +211,13 @@ type ConfiguredTime = time::Eternity;
211211

212212
/// [`Score`] implementation.
213213
///
214-
/// See [`Scorer`] for details.
215-
///
216214
/// # Note
217215
///
218216
/// Mixing the `no-std` feature between serialization and deserialization results in undefined
219217
/// behavior.
220218
///
221219
/// (C-not exported) generally all users should use the [`Scorer`] type alias.
220+
#[doc(hidden)]
222221
pub struct ScorerUsingTime<T: Time> {
223222
params: ScoringParameters,
224223
// TODO: Remove entries of closed channels.
@@ -467,14 +466,13 @@ pub type ProbabilisticScorer<G> = ProbabilisticScorerUsingTime::<G, ConfiguredTi
467466

468467
/// Probabilistic [`Score`] implementation.
469468
///
470-
/// See [`ProbabilisticScorer`] for details.
471-
///
472469
/// # Note
473470
///
474471
/// Mixing the `no-std` feature between serialization and deserialization results in undefined
475472
/// behavior.
476473
///
477474
/// (C-not exported) generally all users should use the [`ProbabilisticScorer`] type alias.
475+
#[doc(hidden)]
478476
pub struct ProbabilisticScorerUsingTime<G: Deref<Target = NetworkGraph>, T: Time> {
479477
params: ProbabilisticScoringParameters,
480478
node_id: NodeId,

0 commit comments

Comments
 (0)