add_only_cfg_attributes

Function add_only_cfg_attributes 

Source
fn add_only_cfg_attributes(attrs: &mut Vec<Attribute>, new_attrs: &[Attribute])
Expand description

This function goes through the attributes list (new_attrs) and extract the cfg tokens from it and put them into attrs.