actually wipe the byte

This commit is contained in:
Tenari committed 2026-10-01 07:32:31 -05:00
1 parent 8aab91479a
commit 4afb043509
1 file changed
+1
+1
View File
@@ -269,6 +269,7 @@ fn u8 stringDeleteCodepointAtByte(String* s, u32 byte_offset) {
}
s->length -= 1;
}
s->bytes[byte_offset] = '\0';
return cp.size;
}