From 63698ecbbfec96998257424e0b09224182a81239 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 20 Oct 2021 01:35:01 +0000 Subject: [PATCH] Allow missing-docs on test-only macros --- lightning/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)] -- 2.39.5