Skip to content

Commit dd6f2a2

Browse files
Auto-format: cargo fmt --all
1 parent 9792d68 commit dd6f2a2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

crates/codegen/src/ir.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,12 @@ impl CodeInfo {
283283
}
284284
// Remove if the next instruction has same line or no line.
285285
else if src < src_instructions.len() - 1 {
286-
let next_lineno = src_instructions[src + 1]
287-
.lineno_override
288-
.unwrap_or_else(|| src_instructions[src + 1].location.line.get() as i32);
286+
let next_lineno =
287+
src_instructions[src + 1]
288+
.lineno_override
289+
.unwrap_or_else(|| {
290+
src_instructions[src + 1].location.line.get() as i32
291+
});
289292
if next_lineno == lineno {
290293
remove = true;
291294
} else if next_lineno < 0 {

0 commit comments

Comments
 (0)