History

Replace all docsrs config by the document-features feature

Urgau committed 2 years ago

Commit bb3224c1 parent 2b80d8463 files · +93 −125Browse files

Showing the changes to gix-commitgraph/src (1 of 63 files). Show all

Unified · Split

gix-commitgraph/src/lib.rs+3−3
@@ -9,10 +9,10 @@ · 8 unmodified lines
9//! Eventually, git will merge these files together as the number of files grows.9//! Eventually, git will merge these files together as the number of files grows.
10//! ## Feature Flags10//! ## Feature Flags
11#![cfg_attr(11#![cfg_attr(
12 feature = "document-features",12 all(doc, feature = "document-features"),
13 cfg_attr(doc, doc = ::document_features::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#![deny(missing_docs, rust_2018_idioms, unsafe_code)]16#![deny(missing_docs, rust_2018_idioms, unsafe_code)]
17 17
18use std::path::Path;18use std::path::Path;