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.
fn filter_non_cfg_tokens_from_list(args_tokens: &TokenStream) -> Vec<TokenTree>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.