From: Matt Corallo Date: Wed, 20 Oct 2021 01:35:01 +0000 (+0000) Subject: Allow missing-docs on test-only macros X-Git-Tag: v0.0.104~15^2~8 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=63698ecbbfec96998257424e0b09224182a81239;p=rust-lightning Allow missing-docs on test-only macros --- diff --git a/lightning/src/lib.rs b/lightning/src/lib.rs index e6ecd1f35..3338803f9 100644 --- a/lightning/src/lib.rs +++ b/lightning/src/lib.rs @@ -18,7 +18,7 @@ //! generated/etc. This makes it a good candidate for tight integration into an existing wallet //! instead of having a rather-separate lightning appendage to a wallet. -#![cfg_attr(not(any(feature = "fuzztarget", feature = "_test_utils")), deny(missing_docs))] +#![cfg_attr(not(any(test, feature = "fuzztarget", feature = "_test_utils")), deny(missing_docs))] #![cfg_attr(not(any(test, feature = "fuzztarget", feature = "_test_utils")), forbid(unsafe_code))] #![deny(broken_intra_doc_links)]