Allow missing-docs on test-only macros
authorMatt Corallo <git@bluematt.me>
Wed, 20 Oct 2021 01:35:01 +0000 (01:35 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 26 Nov 2021 19:31:21 +0000 (19:31 +0000)
lightning/src/lib.rs

index e6ecd1f3563c6a312a5e22ffe017a7ea011d7186..3338803f9a0c771a7ef976a0afba9bd28d6ded7f 100644 (file)
@@ -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)]