mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
import everything from "bun" where possible
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user