Skip to main content

restore_attrs

Function restore_attrs 

Source
pub fn restore_attrs(input: &TokenStream, output: TokenStream) -> TokenStream
Expand description

output with every #[..] or #![..] group that also appears in input replaced by the input’s group.