File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,10 @@ where
154154
155155 let implicit_rule;
156156 let implicit_start_rule;
157- match ast_validation. yacc_kind ( ) . expect ( "is_valid() ensures Some(yacc_kind)" ) {
157+ match ast_validation
158+ . yacc_kind ( )
159+ . expect ( "is_valid() ensures Some(yacc_kind)" )
160+ {
158161 YaccKind :: Original ( _) | YaccKind :: Grmtools => {
159162 implicit_rule = None ;
160163 implicit_start_rule = None ;
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ pub enum YaccKindResolver {
2222 /// Use `YaccKind` if the user doesn't specify `%grmtools` in their grammar
2323 Default ( YaccKind ) ,
2424 /// The user must specify `%grmtools` in their grammars or we throw an error
25- NoDefault
25+ NoDefault ,
2626}
2727
2828/// The particular Yacc variant this grammar makes use of.
You can’t perform that action at this time.
0 commit comments