Skip to content

Commit aaf98c1

Browse files
Update documentation for doc_auto_cfg feature
1 parent 4d6f12b commit aaf98c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/doc/rustdoc/src/unstable-features.md

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ previous source code:
9696

9797
```rust
9898
#![feature(doc_auto_cfg)]
99+
#![doc(auto_cfg)] // To enable the "auto_cfg" discovery.
99100

100101
/// Token struct that can only be used on Windows.
101102
#[cfg(any(windows, doc))]

0 commit comments

Comments
 (0)