document_metrics

Function add_feature

source
pub(crate) fn add_feature(
    features: &mut Vec<String>,
    l: &MetaList,
) -> Result<()>
Expand description

Adds the name of the feature if the given attribute is a cfg(feature) attribute.