Previous commit under x.py fmt

This commit is contained in:
nidnogg 2022-08-16 19:19:59 -03:00
parent be18a9bf75
commit 72ce216def
1 changed files with 1 additions and 1 deletions

View File

@ -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),