diff options
Diffstat (limited to 'vendor/gix-commitgraph/src/lib.rs')
-rw-r--r-- | vendor/gix-commitgraph/src/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/gix-commitgraph/src/lib.rs b/vendor/gix-commitgraph/src/lib.rs index d7fb23d38..d9f4d36bf 100644 --- a/vendor/gix-commitgraph/src/lib.rs +++ b/vendor/gix-commitgraph/src/lib.rs @@ -9,10 +9,10 @@ //! Eventually, git will merge these files together as the number of files grows. //! ## 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)] use std::path::Path; |