This method has no generic usages, it does not need to be generic

cc @paperdave
This commit is contained in:
Jarred Sumner
2024-02-09 02:54:45 -08:00
parent 2f8bff16d7
commit f4ebb33040
8 changed files with 16 additions and 10 deletions

View File

@@ -37,7 +37,7 @@ pub const MutableString = struct {
}
pub fn owns(this: *const MutableString, slice: []const u8) bool {
return bun.isSliceInBuffer(u8, slice, this.list.items.ptr[0..this.list.capacity]);
return bun.isSliceInBuffer(slice, this.list.items.ptr[0..this.list.capacity]);
}
pub fn growIfNeeded(self: *MutableString, amount: usize) !void {