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/index.cgi?a=commitdiff_plain;h=refs%2Fheads%2F2022-03-bindings-cleanups;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)