From 9918693037dce8aa4bb6f08741b6812923486c18 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 19 Jun 2024 11:26:03 +0200 Subject: Merging upstream version 1.76.0+dfsg1. Signed-off-by: Daniel Baumann --- vendor/gix-config-value/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vendor/gix-config-value/src/lib.rs') diff --git a/vendor/gix-config-value/src/lib.rs b/vendor/gix-config-value/src/lib.rs index 5b4f3fa76..b3be069e3 100644 --- a/vendor/gix-config-value/src/lib.rs +++ b/vendor/gix-config-value/src/lib.rs @@ -2,10 +2,10 @@ //! //! ## Feature Flags #![cfg_attr( - feature = "document-features", - cfg_attr(doc, doc = ::document_features::document_features!()) + all(doc, feature = "document-features"), + doc = ::document_features::document_features!() )] -#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] +#![cfg_attr(all(doc, feature = "document-features"), feature(doc_cfg, doc_auto_cfg))] #![deny(missing_docs, rust_2018_idioms, unsafe_code)] /// The error returned when any config value couldn't be instantiated due to malformed input. -- cgit v1.2.3