mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: use a !in b
instead of !(a in b)
This commit is contained in:
@@ -92,7 +92,7 @@ fn main() {
|
||||
}
|
||||
mut cli_args_no_files := []string
|
||||
for a in os.args {
|
||||
if !(a in files) {
|
||||
if a !in files {
|
||||
cli_args_no_files << a
|
||||
}
|
||||
}
|
||||
|
@@ -364,7 +364,7 @@ fn resolve_dependencies(name, module_path string, module_names []string) {
|
||||
mut deps := []string
|
||||
// filter out dependencies that were already specified by the user
|
||||
for d in vmod.deps {
|
||||
if !(d in module_names) {
|
||||
if d !in module_names {
|
||||
deps << d
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user