We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
doc_auto_cfg
1 parent 4d6f12b commit aaf98c1Copy full SHA for aaf98c1
src/doc/rustdoc/src/unstable-features.md
@@ -96,6 +96,7 @@ previous source code:
96
97
```rust
98
#![feature(doc_auto_cfg)]
99
+#![doc(auto_cfg)] // To enable the "auto_cfg" discovery.
100
101
/// Token struct that can only be used on Windows.
102
#[cfg(any(windows, doc))]
0 commit comments