Skip to content

Commit b58556e

Browse files
authored
doc: switch from doc_auto_cfg to doc_cfg
The feature was renamed. PR #165
1 parent 948d2e1 commit b58556e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ doc-comment = "0.3.3"
6060
all-features = true
6161
# This opts into a nightly unstable option to show the features that need to be
6262
# enabled for public API items. To do that, we set 'docsrs', and when that's
63-
# enabled, we enable the 'doc_auto_cfg' feature.
63+
# enabled, we enable the 'doc_cfg' feature.
6464
#
6565
# To test this locally, run:
6666
#

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ this crate can be used without the standard library.
227227
#![no_std]
228228
#![deny(missing_docs)]
229229
#![deny(rustdoc::broken_intra_doc_links)]
230-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
230+
#![cfg_attr(docsrs, feature(doc_cfg))]
231231

232232
extern crate alloc;
233233
#[cfg(any(test, feature = "std"))]

0 commit comments

Comments
 (0)