Function html_minifier::js::replace_token_with
source · pub fn replace_token_with<'a, 'b, F>(token: Token<'a>, callback: &F) -> Token<'a>where
'b: 'a,
F: Fn(&Token<'a>) -> Option<Token<'b>>,Expand description
Replace a given token with another.