]> git.bitcoin.ninja Git - rust-lightning/commit
Swap around generic argument ordering in InvoicePayer for bindings 2021-12-minor-bindings-tweaks
authorMatt Corallo <git@bluematt.me>
Sat, 18 Dec 2021 19:52:11 +0000 (19:52 +0000)
committerMatt Corallo <git@bluematt.me>
Sat, 18 Dec 2021 20:20:23 +0000 (20:20 +0000)
commit7d1e1873f34b1de87ec9cfbe13c9111f892b5c8d
tree8433e3a12295cfa6ac3a2afced040d1d2dd1c010
parentd26469a77a96bcf3717d321b6befce64661e8ed4
Swap around generic argument ordering in InvoicePayer for bindings

The bindings generation really should support generic bounds other
than Deref::Target in where clauses, but currently does not. To
avoid needing to add support during the current release process,
we simply swap around the arguments to move them to the first <>
instead of the where.
lightning-invoice/src/payment.rs