]> git.bitcoin.ninja Git - ldk-c-bindings/commit
Correct printing generic methods in traits
authorMatt Corallo <git@bluematt.me>
Wed, 22 Sep 2021 18:39:46 +0000 (18:39 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 23 Sep 2021 17:37:19 +0000 (17:37 +0000)
commitbf77ececa4ed93dd954c13d59ad2c14f10710586
treedf427f45f7a76a1bd6ba260dfd6b7596a2f5aacb
parentf303e5776622e785ae77de1cdf03a788bb98eb57
Correct printing generic methods in traits

If a trait method is generic (and not the object itself), we
previously would print the concrete resolved types in the
`impl nativeTrait for TraitStruct` block instead of the generic
names, leading to compilation failures.
c-bindings-gen/src/main.rs