From b1bb1d361a94bb344cbdde45820dc49423353519 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 28 Oct 2021 10:51:55 +0300 Subject: [PATCH] ci: vfmt parser.v --- vlib/v/parser/parser.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/parser/parser.v b/vlib/v/parser/parser.v index da1adff5dc..5c715c272e 100644 --- a/vlib/v/parser/parser.v +++ b/vlib/v/parser/parser.v @@ -2974,7 +2974,7 @@ fn (mut p Parser) return_stmt() ast.Return { p.next() // no return mut comments := p.eat_comments() - if p.tok.kind == .rcbr || ( p.tok.kind == .name && p.peek_tok.kind == .colon ) { + if p.tok.kind == .rcbr || (p.tok.kind == .name && p.peek_tok.kind == .colon) { return ast.Return{ comments: comments pos: first_pos