Fix broken autocomplete

This commit is contained in:
Jarred Sumner
2023-04-19 00:01:27 -07:00
parent 36f9fd607a
commit ea47ed0ee5
177 changed files with 2855 additions and 3668 deletions

View File

@@ -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 {