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

ci: vfmt fmt.v ...

This commit is contained in:
Delyan Angelov 2022-01-11 17:32:15 +02:00
parent f3d8bbdf3d
commit c27ffc6054
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -1893,8 +1893,8 @@ fn branch_is_single_line(b ast.IfBranch) bool {
} }
pub fn (mut f Fmt) if_guard_expr(node ast.IfGuardExpr) { pub fn (mut f Fmt) if_guard_expr(node ast.IfGuardExpr) {
if node.is_mut { if node.is_mut {
f.write('mut ') f.write('mut ')
} }
f.write(node.var_name + ' := ') f.write(node.var_name + ' := ')
f.expr(node.expr) f.expr(node.expr)