pub fn one_token(i: I<'_>) -> IResult<I<'_>, &Token, ErrorTree<I<'_>>>
Expand description
Parse a single token that is not a subtree and return the token.
The difference between this and one
is that this function expects the
token to be a TokenTree::Token
and does not permit
TokenTree::Delimited
subtrees.