Re:First Impressions of Rust
by eddyb on Friday August 07, 2020 @12:49AM
(#24078449)
You can use #[cfg(doc)] and #[cfg_attr(doc, ...)], but it looks like that still requires #![feature(doc_cfg)], so I guess it wouldn't be compatible with stable rustc anyway, until it's stabilized itself.
[ Parent
| on HN ]
There are no comments on this comment yet.