]> git.bitcoin.ninja Git - rust-lightning/commit
[bindings] Allow `write_rust_type` to handle leading-colon paths
authorMatt Corallo <git@bluematt.me>
Thu, 31 Dec 2020 00:46:39 +0000 (19:46 -0500)
committerMatt Corallo <git@bluematt.me>
Wed, 3 Feb 2021 15:11:28 +0000 (10:11 -0500)
commitef2b321fdb577245b662b575232d4c40f14ad7b2
tree8f18468bdfc6f34c02a0d481c9d89de0c348805a
parentdfef21c66628dae5e38d3273572ff0ba668b9ffc
[bindings] Allow `write_rust_type` to handle leading-colon paths

It just stubs out to `write_rust_path` in this case anyway, which
handles leading-colons just fine, so no need to panic on them.
c-bindings-gen/src/types.rs