Former-commit-id: 96ff169e46
This commit is contained in:
Jarred Sumner
2021-05-07 01:26:26 -07:00
parent dd9e7de689
commit fad34bb4ab
49 changed files with 5815 additions and 148 deletions

View File

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