filter_non_cfg_tokens_from_list

Function filter_non_cfg_tokens_from_list 

Source
fn filter_non_cfg_tokens_from_list(args_tokens: &TokenStream) -> Vec<TokenTree>
Expand description

We only want to keep #[cfg()] and #[doc(cfg())] attributes so we rebuild a vec of TokenTree with only the tokens we’re interested into.