Rename NtOrTt
as ParseNtResult
.
It's more descriptive, and future-proofs it if/when additional variants get added.
This commit is contained in:
parent
3449304722
commit
9e22351c74
3 changed files with 8 additions and 8 deletions
|
@ -1491,7 +1491,7 @@ pub enum FlatToken {
|
|||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum NtOrTt {
|
||||
pub enum ParseNtResult {
|
||||
Nt(Nonterminal),
|
||||
Tt(TokenTree),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue