style: 修 rustfmt 格式化差异

This commit is contained in:
2026-10-09 06:13:36 +00:00
parent f37f905c21
commit 0d6d06cd1f
10 changed files with 51 additions and 130 deletions
+1 -4
View File
@@ -415,10 +415,7 @@ impl BuiltinWorld {
P::new(JsObject::new_empty(EMPTY_SHAPE_ID, JsValue::null())),
)
} else {
(
current.broadcast_channel_proto.clone(),
current.broadcast_channel_constructor.clone(),
)
(current.broadcast_channel_proto.clone(), current.broadcast_channel_constructor.clone())
};
// 迭代器原型与资源栈原型依赖 Object.prototype(链到其上):object 家族重建时
+1 -2
View File
@@ -198,8 +198,7 @@ impl KernelSession {
console: gen(BuiltinId::Console) != snap(BuiltinId::Console),
message_channel: gen(BuiltinId::MessagePortProto) != snap(BuiltinId::MessagePortProto)
|| gen(BuiltinId::MessageChannelCtor) != snap(BuiltinId::MessageChannelCtor),
broadcast_channel: gen(BuiltinId::BroadcastChannelProto)
!= snap(BuiltinId::BroadcastChannelProto)
broadcast_channel: gen(BuiltinId::BroadcastChannelProto) != snap(BuiltinId::BroadcastChannelProto)
|| gen(BuiltinId::BroadcastChannelCtor) != snap(BuiltinId::BroadcastChannelCtor),
};
// wrapper 本体被写不落在任何家族位上(写的是 wrapper 自身而非所属 P