mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Fix typo
This commit is contained in:
@@ -504,8 +504,8 @@ index_any :: proc(s, chars: string) -> int {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for c in s {
|
for c, i in s {
|
||||||
if i := index_rune(chars, c); i >= 0 {
|
if index_rune(chars, c) >= 0 {
|
||||||
return i
|
return i
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user