diff --git a/vlib/v/fmt/fmt.v b/vlib/v/fmt/fmt.v index 544d38c567..e4b873234c 100644 --- a/vlib/v/fmt/fmt.v +++ b/vlib/v/fmt/fmt.v @@ -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)