alright now it crashes

Former-commit-id: 26745bb5f3
This commit is contained in:
Jarred Sumner
2021-06-29 01:34:38 -07:00
parent 70126c074f
commit ece2a3ccfd
13 changed files with 440 additions and 252 deletions

View File

@@ -132,6 +132,10 @@ pub const MutableString = struct {
self.list.shrinkRetainingCapacity(0);
}
pub fn inflate(self: *MutableString, amount: usize) !void {
try self.list.resize(self.allocator, amount);
}
pub inline fn appendChar(self: *MutableString, char: u8) !void {
try self.list.append(self.allocator, char);
}