Skip to content

Commit c0e05d8

Browse files
committed
Replace doc_auto_cfg with doc_cfg
It looks like the issue with building the latest docs originated from rust-lang/rust#138907 getting into effect at docs.rs.
1 parent 4f5eea6 commit c0e05d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
// https://doc.rust-lang.org/rustdoc/unstable-features.html?highlight=doc(cfg#doccfg-recording-what-platforms-or-features-are-required-for-code-to-be-present
2828
// and
2929
// https://doc.rust-lang.org/rustdoc/unstable-features.html#doc_auto_cfg-automatically-generate-doccfg
30-
// for details.
31-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
30+
// with its latest update https://github.com/rust-lang/rust/pull/138907 for details.
31+
#![cfg_attr(docsrs, feature(doc_cfg))]
3232
// Don't worry about needing to `unwrap()` or otherwise handle some results in
3333
// doc tests.
3434
#![doc(test(attr(allow(unused_must_use))))]

0 commit comments

Comments
 (0)