From: Matt Corallo Date: Mon, 21 Mar 2022 20:08:37 +0000 (+0000) Subject: Use `impl` instead of a `where` clause to help bindings X-Git-Tag: v0.0.106~15^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=5588f2fa5dcd8b6d4632ff28aeb84f90837a75e2;p=rust-lightning Use `impl` instead of a `where` clause to help bindings --- diff --git a/lightning/src/routing/scoring.rs b/lightning/src/routing/scoring.rs index c39abd1d0..d8b1740c1 100644 --- a/lightning/src/routing/scoring.rs +++ b/lightning/src/routing/scoring.rs @@ -927,11 +927,8 @@ impl, T: Time> Writeable for ProbabilisticScorer } } -impl ReadableArgs<(ProbabilisticScoringParameters, G)> for ProbabilisticScorerUsingTime -where - G: Deref, - T: Time, -{ +impl, T: Time> +ReadableArgs<(ProbabilisticScoringParameters, G)> for ProbabilisticScorerUsingTime { #[inline] fn read( r: &mut R, args: (ProbabilisticScoringParameters, G)