import everything from "bun" where possible

This commit is contained in:
Jarred Sumner
2022-11-29 02:42:56 -08:00
parent 7b59d9d97c
commit b631ea7d72
161 changed files with 621 additions and 739 deletions

View File

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