]> git.bitcoin.ninja Git - rust-lightning/commitdiff
f - Use #[doc(hidden)]
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 6 Jan 2022 17:04:59 +0000 (11:04 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 20 Jan 2022 22:14:47 +0000 (16:14 -0600)
lightning/src/routing/scoring.rs

index 2d534fa317968e7b9edbe9617d3794d707b5e46c..627b3dd0a79a9ad143a53111418e954f113d3442 100644 (file)
@@ -211,14 +211,13 @@ type ConfiguredTime = time::Eternity;
 
 /// [`Score`] implementation.
 ///
-/// See [`Scorer`] for details.
-///
 /// # Note
 ///
 /// Mixing the `no-std` feature between serialization and deserialization results in undefined
 /// behavior.
 ///
 /// (C-not exported) generally all users should use the [`Scorer`] type alias.
+#[doc(hidden)]
 pub struct ScorerUsingTime<T: Time> {
        params: ScoringParameters,
        // TODO: Remove entries of closed channels.
@@ -467,14 +466,13 @@ pub type ProbabilisticScorer<G> = ProbabilisticScorerUsingTime::<G, ConfiguredTi
 
 /// Probabilistic [`Score`] implementation.
 ///
-/// See [`ProbabilisticScorer`] for details.
-///
 /// # Note
 ///
 /// Mixing the `no-std` feature between serialization and deserialization results in undefined
 /// behavior.
 ///
 /// (C-not exported) generally all users should use the [`ProbabilisticScorer`] type alias.
+#[doc(hidden)]
 pub struct ProbabilisticScorerUsingTime<G: Deref<Target = NetworkGraph>, T: Time> {
        params: ProbabilisticScoringParameters,
        node_id: NodeId,