vfmt: trim ^A from embedded inline comments too
parent
40770f1697
commit
92a75c80db
|
@ -1207,7 +1207,7 @@ struct CommentsOptions {
|
|||
|
||||
pub fn (mut f Fmt) comment(node ast.Comment, options CommentsOptions) {
|
||||
if options.iembed {
|
||||
x := node.text.replace('\n', ' ')
|
||||
x := node.text.replace('\n', ' ').trim_left('\x01')
|
||||
f.write('/* $x */')
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue