From 4b305265bbaa4ee8ce37ac3262340de473cd0366 Mon Sep 17 00:00:00 2001 From: DonIsaac <22823424+DonIsaac@users.noreply.github.com> Date: Mon, 3 Mar 2025 02:04:33 +0000 Subject: [PATCH] `bun run zig-format` --- src/bun.js/bindings/JSObject.zig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bun.js/bindings/JSObject.zig b/src/bun.js/bindings/JSObject.zig index b4e3de76dc..b6e699a3f7 100644 --- a/src/bun.js/bindings/JSObject.zig +++ b/src/bun.js/bindings/JSObject.zig @@ -15,7 +15,7 @@ pub const JSObject = extern struct { } /// Non-objects will be runtime-coerced to objects. - /// + /// /// For cells this is `toObjectSlow`, for other types it's `toObjectSlowCase`. pub fn fromJS(value: JSValue, globalThis: JSValue) *JSObject { return JSValue.toObject(value, globalThis); @@ -129,7 +129,6 @@ pub const JSObject = extern struct { } extern fn JSC__JSObject__getIfPropertyExistsImpl(object: *JSObject, global: *JSGlobalObject, ptr: [*]const u8, len: u32) JSValue; - pub fn fastGetWithError(this: *JSObject, global: *JSGlobalObject, builtin_name: JSValue.BuiltinName) bun.JSError!?JSValue { return switch (JSC__JSObject__fastGet(this, global, @intFromEnum(builtin_name))) { .zero => error.JSError,