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-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=9f1660e25db7e2aed650a3510a6b821bd01452a9;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 f0acb82bc..578d29858 100644 --- a/lightning/src/routing/scoring.rs +++ b/lightning/src/routing/scoring.rs @@ -844,11 +844,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)