瀏覽代碼

Keep `-vet` happy

Feoramund 1 年之前
父節點
當前提交
8b31cddaba
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/core/slice/test_core_slice.odin

+ 1 - 1
tests/core/slice/test_core_slice.odin

@@ -201,7 +201,7 @@ test_permutation_iterator :: proc(t: ^testing.T) {
 	permutations_counted: int
 	permutations_counted: int
 	for slice.permute(&iter) {
 	for slice.permute(&iter) {
 		n := 0
 		n := 0
-		for item, index in s {
+		for item in s {
 			n *= 10
 			n *= 10
 			n += item
 			n += item
 		}
 		}