]> git.bitcoin.ninja Git - ldk-c-bindings/commit
Handle multiple `impl`s of the same trait in the same file
authorMatt Corallo <git@bluematt.me>
Thu, 27 Oct 2022 00:18:18 +0000 (00:18 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 28 Oct 2022 01:31:25 +0000 (01:31 +0000)
commit7059159a62b77dce0da6243ef9aa2ad30df60880
tree1e2a58d46877a8d721cdbe9820ea91fd708f3d33
parent50af954e76be66d0a1a4e3ba210bd849c4780b8d
Handle multiple `impl`s of the same trait in the same file

This should be easy, but we end up with redundant `use` statements.
Thus, we instead track which use statements we want and put them at
the end when generating new files
c-bindings-gen/src/main.rs