Disallow for in in favour of for _ in

This commit is contained in:
gingerBill
2023-08-08 14:56:12 +01:00
parent 939bf4bb5d
commit 49ab935ae9
7 changed files with 13 additions and 10 deletions
+1 -1
View File
@@ -416,7 +416,7 @@ rel :: proc(base_path, target_path: string, allocator := context.allocator) -> (
}
buf := make([]byte, size)
n := copy(buf, "..")
for in 0..<seps {
for _ in 0..<seps {
buf[n] = SEPARATOR
copy(buf[n+1:], "..")
n += 3