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

all: fix remaining []array warnings

This commit is contained in:
yuyi
2020-04-26 22:25:54 +08:00
committed by GitHub
parent 9f4d498ff1
commit 2574dce174
21 changed files with 34 additions and 36 deletions

View File

@ -39,7 +39,7 @@ pub fn option(args []string, param string, def string) string {
// what: ['test']
// ret: ['-stat']
pub fn options_before(args []string, what []string) []string {
mut args_before := []string {}
mut args_before := []string{}
for a in args {
if a in what {
break