mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-26 00:03:54 +00:00
[strings] fix.
This commit is contained in:
@@ -1804,7 +1804,7 @@ fields_iterator :: proc(s: ^string) -> (field: string, ok: bool) {
|
||||
return "", false
|
||||
}
|
||||
|
||||
field = s[:len(s)]
|
||||
field = s[start:]
|
||||
ok = true
|
||||
s^ = s[len(s):]
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user