]> git.bitcoin.ninja Git - rust-lightning/commit
Inline generic bounds rather than using the `where` clause
authorMatt Corallo <git@bluematt.me>
Sat, 10 Sep 2022 20:31:52 +0000 (20:31 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 12 Sep 2022 16:26:58 +0000 (16:26 +0000)
commit95eb2b52be7510940404d779ff17d887edd32bb3
tree043ac23dc80ddcb15d05235fa412f7af031c6c6c
parent0f3536f87a73b378c3df7867f45d23a4559c3f8d
Inline generic bounds rather than using the `where` clause

The bindings generator is pretty naive in its generic resolution
and doesn't like `where` clauses for bounds that are simple traits.
This should eventually change, but for now its simplest to just
inline the relevant generic bounds.
lightning/src/util/persist.rs