Showing the changes to gix-commitgraph/src (1 of 63 files). Show all
Unified · Split
| @@ -9,10 +9,10 @@ · 8 unmodified lines | ||
| 9 | 9 | //! Eventually, git will merge these files together as the number of files grows. |
| 10 | 10 | //! ## Feature Flags |
| 11 | 11 | #![cfg_attr( |
| 12 | − feature = "document-features", | |
| 13 | − cfg_attr(doc, doc = ::document_features::document_features!()) | |
| 12 | + all(doc, feature = "document-features"), | |
| 13 | + doc = ::document_features::document_features!() | |
| 14 | 14 | )] |
| 15 | −#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] | |
| 15 | +#![cfg_attr(all(doc, feature = "document-features"), feature(doc_cfg, doc_auto_cfg))] | |
| 16 | 16 | #![deny(missing_docs, rust_2018_idioms, unsafe_code)] |
| 17 | 17 | |
| 18 | 18 | use std::path::Path; |