mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
ci: vfmt fmt.v ...
This commit is contained in:
parent
f3d8bbdf3d
commit
c27ffc6054
1 changed files with 2 additions and 2 deletions
|
@ -1893,8 +1893,8 @@ fn branch_is_single_line(b ast.IfBranch) bool {
|
|||
}
|
||||
|
||||
pub fn (mut f Fmt) if_guard_expr(node ast.IfGuardExpr) {
|
||||
if node.is_mut {
|
||||
f.write('mut ')
|
||||
if node.is_mut {
|
||||
f.write('mut ')
|
||||
}
|
||||
f.write(node.var_name + ' := ')
|
||||
f.expr(node.expr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue