rustc_expand::mbe::metavar_expr

Function try_eat_comma

source
fn try_eat_comma(iter: &mut RefTokenTreeCursor<'_>) -> bool
Expand description

Tries to move the iterator forward returning true if there is a comma. If not, then the iterator is not modified and the result is false.