From c27ffc6054e8f11efb62ad07571f7dad0ec288a4 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Tue, 11 Jan 2022 17:32:15 +0200 Subject: [PATCH] ci: vfmt fmt.v ... --- vlib/v/fmt/fmt.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)