diff options
| author | Wes Hardee <weshardee@gmail.com> | 2021-12-18 12:43:33 -0600 |
|---|---|---|
| committer | Wes Hardee <weshardee@gmail.com> | 2021-12-18 12:43:33 -0600 |
| commit | 92ce7defb12436b81eb1f2c19fa1e01be4a8ead3 (patch) | |
| tree | 75a9b9c9ad10d7a2b39b05afba2fd88a7a185f0f /core/bytes/bytes.odin | |
| parent | a48317deee95b956430ace83f0db3e34bef590dd (diff) | |
| parent | 0548db423067bce16d45af651819bf56feb5d411 (diff) | |
Merge branch 'master' of https://github.com/weshardee/Odin
Diffstat (limited to 'core/bytes/bytes.odin')
| -rw-r--r-- | core/bytes/bytes.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bytes/bytes.odin b/core/bytes/bytes.odin index cbc1e2506..1e83b93c8 100644 --- a/core/bytes/bytes.odin +++ b/core/bytes/bytes.odin @@ -1143,7 +1143,7 @@ fields_proc :: proc(s: []byte, f: proc(rune) -> bool, allocator := context.alloc } if start >= 0 { - append(&subslices, s[start : end]) + append(&subslices, s[start : len(s)]) } return subslices[:] |