Indentation increment
This commit is contained in:
+2
-2
@@ -709,8 +709,8 @@ impl ToRust for Statement {
|
||||
Statement::Break => cg.add_indentedln("break;"),
|
||||
Statement::Continue => cg.add_indentedln("continue;"),
|
||||
|
||||
Statement::Increment(e) => cg.add(&format!("{}+=1;", e.get_rust())),
|
||||
Statement::Decrement(e) => cg.add(&format!("{}-=1;", e.get_rust())),
|
||||
Statement::Increment(e) => cg.add_indentedln(&format!("{}+=1;", e.get_rust())),
|
||||
Statement::Decrement(e) => cg.add_indentedln(&format!("{}-=1;", e.get_rust())),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user