diff options
| author | gingerBill <bill@gingerbill.org> | 2018-12-26 19:33:56 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-12-26 19:33:56 +0000 |
| commit | 8662df2b7fa6a45cd81941357a2fe96854b05336 (patch) | |
| tree | 6b685d49746df370f4f939fdd5788dd855db0ca4 /core/runtime | |
| parent | 6abbc9f1b590758d0286785150116d36e5ee9306 (diff) | |
Update `package strings`
Diffstat (limited to 'core/runtime')
| -rw-r--r-- | core/runtime/internal.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/runtime/internal.odin b/core/runtime/internal.odin index 96ff861b2..5db1845f5 100644 --- a/core/runtime/internal.odin +++ b/core/runtime/internal.odin @@ -326,7 +326,7 @@ type_assertion_check :: proc "contextless" (ok: bool, file: string, line, column } string_decode_rune :: inline proc "contextless" (s: string) -> (rune, int) { - return utf8.decode_rune_from_string(s); + return utf8.decode_rune_in_string(s); } bounds_check_error_loc :: inline proc "contextless" (using loc := #caller_location, index, count: int) { |