summaryrefslogtreecommitdiff
path: root/lang/rust/pseudorust.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lang/rust/pseudorust.cpp')
-rw-r--r--lang/rust/pseudorust.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/rust/pseudorust.cpp b/lang/rust/pseudorust.cpp
index d7e18efc..0f41678f 100644
--- a/lang/rust/pseudorust.cpp
+++ b/lang/rust/pseudorust.cpp
@@ -716,6 +716,8 @@ void PseudoRustFunction::GetExprText(const HighLevelILInstruction& instr, HighLe
auto function = m_highLevelIL->GetFunction();
if (instr.ast)
tokens.PrependCollapseIndicator(function, instr);
+ if (instr.operation != HLIL_BLOCK)
+ tokens.InitLine();
switch (instr.operation)
{
case HLIL_BLOCK: