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:
parent
f3d8bbdf3d
commit
c27ffc6054
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user