]> git.bitcoin.ninja Git - rust-lightning/commit
[bindings] Allow unused fns that the bindings can call but don't
authorMatt Corallo <git@bluematt.me>
Mon, 4 Jan 2021 20:25:23 +0000 (15:25 -0500)
committerMatt Corallo <git@bluematt.me>
Mon, 4 Jan 2021 21:14:26 +0000 (16:14 -0500)
commitd335cfc880eaa165c48e2a17da7d62f485f3639a
tree80c31f13cb1099562de8f4d89cdd97b181637c6e
parentff0561dc63d5bb72954d50d1c298a1776f52e31f
[bindings] Allow unused fns that the bindings can call but don't

We no longer have any public `Option<Signatures>` in our code, and
thus get warnings that the two functions which support it are
unused. Instead of removing support for them (which we may need in
the future), we add `#[allow(unused)]`.
lightning-c-bindings/src/c_types/mod.rs