Skip to content

Commit 5085d5b

Browse files
authored
chore(all): modernized code with slices (#2189)
1 parent 3b907a6 commit 5085d5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x/wasm/types/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ func isSubset(super, sub []string) bool {
416416
if len(sub) == 0 {
417417
return true
418418
}
419-
var matches int
419+
matches := 0
420420
for _, o := range sub {
421421
if slices.Contains(super, o) {
422422
matches++

0 commit comments

Comments
 (0)