Open
Description
Example:
#[doc = include_str!(...)]
The code fragment above will display documentation on hover when the user hovers over doc
, and over include_str
. Both with their respective documentation.
If the user instead uses #[cfg_attr(doc, doc = include_str!(...))]
, which reduces compilation time, no documentation will be shown for doc
or include_str
.
It would be excellent if we could treat the second meta item in the metalist for cfg_attr
as it's own attribute (because it is)