diff options
author | JSDurand <mmemmew@gmail.com> | 2023-07-21 16:18:18 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2023-07-21 16:18:18 +0800 |
commit | 31c78b6eb965200ad177aed7b8d31f74559fab8c (patch) | |
tree | 29a31f2110cb11383659449d6c8f91630ac363c4 | |
parent | 0dd922d033e9269283b023a5711eba3ab5403099 (diff) |
Derive Debug for a type
This makes it easier if I want to debug things.
-rw-r--r-- | grammar/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grammar/src/lib.rs b/grammar/src/lib.rs index ea1299f..194a1f7 100644 --- a/grammar/src/lib.rs +++ b/grammar/src/lib.rs @@ -287,7 +287,7 @@ pub struct Grammar { /// A private type to aid the recursive looping of rergular /// expressions. -#[derive(Copy, Clone)] +#[derive(Copy, Clone, Debug)] enum StackElement { Seen(usize), Unseen(usize), |