From: Matt Corallo Date: Thu, 29 Apr 2021 15:23:13 +0000 (+0000) Subject: Allow missing_docs again as lightning-invoice uses it for enums X-Git-Tag: v0.0.98~10^2~4 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=80651edc00530ffa94cee1027d97291913865ab2;p=ldk-c-bindings Allow missing_docs again as lightning-invoice uses it for enums --- diff --git a/c-bindings-gen/src/main.rs b/c-bindings-gen/src/main.rs index a38e6e3..24bcf82 100644 --- a/c-bindings-gen/src/main.rs +++ b/c-bindings-gen/src/main.rs @@ -1388,7 +1388,8 @@ fn convert_file<'a, 'b>(libast: &'a FullLibraryAST, crate_types: &CrateTypes<'a> writeln!(out, "#![allow(unused_parens)]").unwrap(); writeln!(out, "#![allow(unused_unsafe)]").unwrap(); writeln!(out, "#![allow(unused_braces)]").unwrap(); - writeln!(out, "#![deny(missing_docs)]").unwrap(); + // TODO: We need to map deny(missing_docs) in the source crate(s) + //writeln!(out, "#![deny(missing_docs)]").unwrap(); writeln!(out, "pub mod c_types;").unwrap(); writeln!(out, "pub mod bitcoin;").unwrap(); } else {