1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fmt: fix a space in const decl

This commit is contained in:
Alexander Medvednikov 2020-12-30 02:24:38 +01:00
parent 8e4152f053
commit 9976641be0

View File

@ -1994,7 +1994,7 @@ pub fn (mut f Fmt) const_decl(it ast.ConstDecl) {
}
f.write('const ')
if it.is_block {
f.writeln(' (')
f.writeln('(')
}
mut max := 0
for field in it.fields {