fmt: remove \t before same line comments
parent
2c778c8849
commit
515da900e4
vlib/v/fmt
|
@ -737,7 +737,8 @@ fn (var f Fmt) comment(node ast.Comment) {
|
|||
s = '// ' + s
|
||||
}
|
||||
if !is_separate_line {
|
||||
f.out.go_back(1) // delete the generated \n
|
||||
f.remove_new_line() // delete the generated \n
|
||||
f.write(' ')
|
||||
}
|
||||
f.writeln(s)
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue