aboutsummaryrefslogtreecommitdiff
path: root/src/string_mutable.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/string_mutable.zig')
-rw-r--r--src/string_mutable.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/string_mutable.zig b/src/string_mutable.zig
index 3a6918b5c..7f81b5a74 100644
--- a/src/string_mutable.zig
+++ b/src/string_mutable.zig
@@ -1,7 +1,7 @@
const std = @import("std");
const expect = std.testing.expect;
-const bun = @import("bun");
+const bun = @import("root").bun;
const strings = bun.strings;
const js_lexer = bun.js_lexer;
@@ -33,7 +33,7 @@ pub const MutableString = struct {
}
pub fn owns(this: *const MutableString, slice: []const u8) bool {
- return @import("bun").isSliceInBuffer(slice, this.list.items.ptr[0..this.list.capacity]);
+ return @import("root").bun.isSliceInBuffer(slice, this.list.items.ptr[0..this.list.capacity]);
}
pub fn growIfNeeded(self: *MutableString, amount: usize) !void {