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