[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>
Fri, 15 Jan 2021 00:49:14 +0000 (19:49 -0500)
commit4fe9aea4b8a07a5a95ebeca448c66ef8b9cc5c94
tree7d55070764a371468a015365abab9ed30e600922
parent78cb632861f70df19528094791a01c4574c19808
[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