Skip to main content

token_clone

Function token_clone 

Source
pub fn token_clone<'a>(t: &Token) -> Result<Token, Error<SliceIter<'a, Token>>>
Expand description

Clones a token.

This is necessary to allow the match_type and match_token macros to work.