mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-28 18:30:06 +00:00
Disallow for in in favour of for _ in
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user