Skip to content

Commit 5d14da3

Browse files
committed
f - Use #[doc(hidden)]
1 parent f6f55ab commit 5d14da3

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

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

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

0 commit comments

Comments
 (0)