]> git.bitcoin.ninja Git - ldk-c-bindings/commit
Detect a type as clonable with an explicit `impl Clone`
authorMatt Corallo <git@bluematt.me>
Sun, 26 Sep 2021 06:19:07 +0000 (06:19 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 26 Sep 2021 06:19:07 +0000 (06:19 +0000)
commita89709db0fdd79f00e3a6c9bede01ec2089255fb
tree62d299c3c38c2dcfed2e9ea4fb7d82787f1364bb
parentaa7eb7c09b3d01dc125f42efed8d730c2062e4c4
Detect a type as clonable with an explicit `impl Clone`

These stay `impl Clone` even after the pretty-print rustc pass so
we cannot only match `core::clone::Clone`
c-bindings-gen/src/main.rs