Implemented #[doc(cfg(...))].
This attribute has two effects: 1. Items with this attribute and their children will have the "This is supported on **** only" message attached in the documentation. 2. The items' doc tests will be skipped if the configuration does not match.
Showing
src/librustdoc/clean/cfg.rs
0 → 100644
此差异已折叠。
src/test/rustdoc/doc-cfg.rs
0 → 100644
想要评论请 注册 或 登录