From 575d3fdc0815fd950cb2325d7095621ad2f2e6e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=88=B1=E7=89=B9=E6=AF=8F=E7=BE=8A=E9=98=9F?= Date: Tue, 30 Jun 2026 21:50:37 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E8=87=AA=E5=8A=A8=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/oxide_vm/src/ic_helper.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/crates/oxide_vm/src/ic_helper.rs b/crates/oxide_vm/src/ic_helper.rs index 0fa3b86..a516b4f 100644 --- a/crates/oxide_vm/src/ic_helper.rs +++ b/crates/oxide_vm/src/ic_helper.rs @@ -83,9 +83,7 @@ fn resolve_proto_target_raw(obj: *const JsObject, proto_depth: u8) -> *const JsO } #[inline(always)] -pub(crate) fn ic_get_hit( - obj: &JsObject, shape_id: u32, slot_index: u32, proto_depth: u8, -) -> Option { +pub(crate) fn ic_get_hit(obj: &JsObject, shape_id: u32, slot_index: u32, proto_depth: u8) -> Option { if shape_id == 0 { return None; } @@ -102,9 +100,7 @@ pub(crate) fn ic_get_hit( } #[inline(always)] -pub(crate) fn ic_set_hit( - obj: &mut JsObject, shape_id: u32, slot_index: u32, proto_depth: u8, value: JsValue, -) -> bool { +pub(crate) fn ic_set_hit(obj: &mut JsObject, shape_id: u32, slot_index: u32, proto_depth: u8, value: JsValue) -> bool { if shape_id == 0 { return false; }