This commit is contained in:
Jarred Sumner
2021-05-11 18:39:00 -07:00
parent d75a1deb4a
commit a5f1670e92
28 changed files with 3414 additions and 528 deletions

View File

@@ -128,7 +128,7 @@ pub const MutableString = struct {
return self.list.toOwnedSlice(self.allocator);
}
pub fn toOwnedSliceLeaky(self: *MutableString) []u8 {
pub fn toOwnedSliceLeaky(self: *MutableString) string {
return self.list.items;
}