Function try_pfunc_lossless

Source
pub fn try_pfunc_lossless<'a, R>(
    stream: impl IntoIterator<Item = TokenTree>,
    proc_input: bool,
    names: impl AsRef<[&'a str]>,
    f: impl FnMut(Ident, Group) -> Result<TokenStream, R>,
) -> Result<TokenStream, R>
Expand description

Like try_pfunc, but it’s lossless when no changes are made