From 5588f2fa5dcd8b6d4632ff28aeb84f90837a75e2 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 21 Mar 2022 20:08:37 +0000 Subject: [PATCH] Use `impl` instead of a `where` clause to help bindings --- lightning/src/routing/scoring.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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) -- 2.39.5