Add "allocator-required" functions.

This commit is contained in:
Christoffer Lerno
2024-08-25 21:53:42 +02:00
parent 61246d713d
commit 4b2019cf20
13 changed files with 476 additions and 305 deletions

View File

@@ -292,7 +292,7 @@ fn void DString.append_chars(&self, String str)
fn Char32[] DString.copy_utf32(&self, Allocator allocator = allocator::heap())
{
return self.str_view().to_new_utf32(allocator) @inline!!;
return self.str_view().to_utf32(allocator) @inline!!;
}
fn void DString.append_string(&self, DString str)