Skip to content

Commit c906e43

Browse files
committed
Format
1 parent fbb409b commit c906e43

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

compiler/parser/python.lalrpop

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -364,11 +364,11 @@ IfStatement: ast::Stmt = {
364364
// Determine last else:
365365
let mut last = s3.map(|s| s.2).unwrap_or_default();
366366
let end_location = last
367-
.last()
368-
.or_else(|| s2.last().and_then(|last| last.4.last()))
369-
.or_else(|| body.last())
370-
.unwrap()
371-
.end_location;
367+
.last()
368+
.or_else(|| s2.last().and_then(|last| last.4.last()))
369+
.or_else(|| body.last())
370+
.unwrap()
371+
.end_location;
372372
// handle elif:
373373
for i in s2.into_iter().rev() {
374374
let x = ast::Stmt {

0 commit comments

Comments
 (0)