Skip to content

Commit 38dd07e

Browse files
committed
f - Use #[doc(hidden)]
1 parent bfc1250 commit 38dd07e

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
@@ -216,14 +216,13 @@ type ConfiguredTime = time::Eternity;
216216

217217
/// [`Score`] implementation.
218218
///
219-
/// See [`Scorer`] for details.
220-
///
221219
/// # Note
222220
///
223221
/// Mixing the `no-std` feature between serialization and deserialization results in undefined
224222
/// behavior.
225223
///
226224
/// (C-not exported) generally all users should use the [`Scorer`] type alias.
225+
#[doc(hidden)]
227226
pub struct ScorerUsingTime<T: Time> {
228227
params: ScoringParameters,
229228
// TODO: Remove entries of closed channels.
@@ -472,14 +471,13 @@ pub type ProbabilisticScorer<G> = ProbabilisticScorerUsingTime::<G, ConfiguredTi
472471

473472
/// Probabilistic [`Score`] implementation.
474473
///
475-
/// See [`ProbabilisticScorer`] for details.
476-
///
477474
/// # Note
478475
///
479476
/// Mixing the `no-std` feature between serialization and deserialization results in undefined
480477
/// behavior.
481478
///
482479
/// (C-not exported) generally all users should use the [`ProbabilisticScorer`] type alias.
480+
#[doc(hidden)]
483481
pub struct ProbabilisticScorerUsingTime<G: Deref<Target = NetworkGraph>, T: Time> {
484482
params: ProbabilisticScoringParameters,
485483
node_id: NodeId,

0 commit comments

Comments
 (0)