mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-24 02:31:13 +08:00
style: 修 rustfmt 格式化差异
This commit is contained in:
@@ -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 家族重建时
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user