fmt: remove \t before same line comments
parent
2c778c8849
commit
515da900e4
|
@ -737,7 +737,8 @@ fn (var f Fmt) comment(node ast.Comment) {
|
||||||
s = '// ' + s
|
s = '// ' + s
|
||||||
}
|
}
|
||||||
if !is_separate_line {
|
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)
|
f.writeln(s)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue