1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fmt: remove unnecessary parentheses after return (fix #11423) (#11435)

This commit is contained in:
yuyi
2021-09-08 19:19:53 +08:00
committed by GitHub
parent bef3390f36
commit e5360e164a
12 changed files with 36 additions and 16 deletions

View File

@@ -128,7 +128,7 @@ fn is_digit(x byte) bool {
}
fn is_space(x byte) bool {
return (x == `\t` || x == `\n` || x == `\v` || x == `\f` || x == `\r` || x == ` `)
return x == `\t` || x == `\n` || x == `\v` || x == `\f` || x == `\r` || x == ` `
}
fn is_exp(x byte) bool {