By adding #![doc(cfg_hide(foobar))] to the crate attributes the cfg #[cfg(foobar)] (and _only_ that _exact_ cfg) will not be implicitly treated as a doc(cfg) to render a message in the documentation. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
By adding #![doc(cfg_hide(foobar))] to the crate attributes the cfg #[cfg(foobar)] (and _only_ that _exact_ cfg) will not be implicitly treated as a doc(cfg) to render a message in the documentation. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||