correct newly found vets

This commit is contained in:
Laytan Laats committed 2024-04-03 00:52:58 +02:00
1 parent 21fcf7c874
commit 3a0df80066
18 files changed
+56 -62

No files matched your search

+1 -1
View File
@@ -809,7 +809,7 @@ _split :: proc(s_, sep: string, sep_save, n_: int, allocator := context.allocato
n = l
}
res := make([]string, n, allocator, loc) or_return
res = make([]string, n, allocator, loc) or_return
for i := 0; i < n-1; i += 1 {
_, w := utf8.decode_rune_in_string(s)
res[i] = s[:w]