]> git.bitcoin.ninja Git - rust-lightning/commit
[bindings] Push generic resolution into maybe_resolve_path
authorMatt Corallo <git@bluematt.me>
Tue, 15 Sep 2020 22:49:59 +0000 (18:49 -0400)
committerMatt Corallo <git@bluematt.me>
Mon, 12 Oct 2020 16:17:26 +0000 (12:17 -0400)
commitb7f7aba2e789c1b42497fdb0dffa8f95c620f634
tree8e27719aeb4af1e3de7dbe691c25916e423c4ed9
parent16b9309e7c2ec7c0fc18e46fac1abba0ec1eaa32
[bindings] Push generic resolution into maybe_resolve_path

This pushes down the logic to check if a given Path is, in fact,
a reference to a generic into the common maybe_resolve_path instead
of doing it redundantly in a few different places. Net loss of LoC.
c-bindings-gen/src/main.rs
c-bindings-gen/src/types.rs