Previous commit under x.py fmt
This commit is contained in:
parent
be18a9bf75
commit
72ce216def
1 changed files with 1 additions and 1 deletions
|
@ -463,7 +463,7 @@ fn count_repetitions<'a>(
|
|||
match matched {
|
||||
MatchedTokenTree(_) | MatchedNonterminal(_) => {
|
||||
if declared_lhs_depth == 0 {
|
||||
return Err(cx.create_err( CountRepetitionMisplaced { span: sp.entire()} ));
|
||||
return Err(cx.create_err(CountRepetitionMisplaced { span: sp.entire() }));
|
||||
}
|
||||
match depth_opt {
|
||||
None => Ok(1),
|
||||
|
|
Loading…
Add table
Reference in a new issue