mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
487802d6c8
It's used in `Parser::collect_tokens_trailing_token` to decide whether to capture a trailing token. But the callers actually know whether to capture a trailing token, so it's simpler for them to just pass in a bool. Also, the `TrailingToken::Gt` case was weird, because it didn't result in a trailing token being captured. It could have been subsumed by the `TrailingToken::MaybeComma` case, and it effectively is in the new code. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |