Skip to content

Commit 0fc746d

Browse files
authored
KCL: Neaten up code in recaster (#7855)
1 parent 820b068 commit 0fc746d

File tree

1 file changed

+1
-1
lines changed
  • rust/kcl-lib/src/parsing/ast/types

1 file changed

+1
-1
lines changed

rust/kcl-lib/src/parsing/ast/types/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3587,7 +3587,7 @@ impl FormatOptions {
35873587
if self.use_tabs {
35883588
"\t".repeat(level + 1)
35893589
} else {
3590-
" ".repeat(level * self.tab_size) + " ".repeat(PIPE_OPERATOR.len() + 1).as_str()
3590+
" ".repeat(level * self.tab_size + PIPE_OPERATOR.len() + 1)
35913591
}
35923592
}
35933593
}

0 commit comments

Comments
 (0)