Module propagate_doc_cfg

Module propagate_doc_cfg 

Source
Expand description

Propagates #[doc(cfg(...))] to child items.

Structsยง

CfgPropagator ๐Ÿ”’

Constantsยง

PROPAGATE_DOC_CFG ๐Ÿ”’

Functionsยง

add_only_cfg_attributes ๐Ÿ”’
This function goes through the attributes list (new_attrs) and extract the cfg tokens from it and put them into attrs.
propagate_doc_cfg ๐Ÿ”’