Skip to content

Commit 1bdc26d

Browse files
committed
Use feature(doc_cfg) instead of feature(doc_auto_cfg) for docsrs
The feature was recently removed/merged into doc_cfg (https://users.rust-lang.org/t/fallout-from-removal-of-doc-auto-cfg/134435/1), so time to switch and fix the docsrs build.
1 parent 296018b commit 1bdc26d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

governor/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
//! ```
2828
//!
2929
30-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
30+
#![cfg_attr(docsrs, feature(doc_cfg))]
3131
#![cfg_attr(not(feature = "std"), no_std)]
3232
// Clippy config: Deny warnings but allow unknown lint configuration (so I can use nightly)
3333
#![deny(warnings)]

0 commit comments

Comments
 (0)