Skip to content

Commit 2d4a2f7

Browse files
Oyami-SrkThomasdezeeuw
authored andcommitted
Update feature doc_auto_cfg to doc_cfg
`doc_auto_cfg` has been removed in the latest nightly, see rust-lang/rust#138907. This feature was merged into `doc_cfg`. This fixes the rustdoc build in the latest nightly toolchain with docsrs feature enabled.
1 parent 11aa102 commit 2d4a2f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
5555
#![deny(missing_docs, missing_debug_implementations, rust_2018_idioms)]
5656
// Automatically generate required OS/features for docs.rs.
57-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
57+
#![cfg_attr(docsrs, feature(doc_cfg))]
5858
// Disallow warnings when running tests.
5959
#![cfg_attr(test, deny(warnings))]
6060
// Disallow warnings in examples.

0 commit comments

Comments
 (0)