mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fmt: revert the fn \n change
This commit is contained in:
parent
cc1d313d68
commit
3612bd58ef
@ -1265,7 +1265,7 @@ pub fn (mut f Fmt) fn_decl(node ast.FnDecl) {
|
||||
f.stmts(node.stmts)
|
||||
f.write('}')
|
||||
}
|
||||
if !node.is_anon && !node.no_body {
|
||||
if !node.is_anon {
|
||||
f.writeln('\n')
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user