From 9c12aceb6966474b23fbfbf05a02cf2f35df0cf1 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Wed, 25 Nov 2026 13:20:46 -0800 Subject: [PATCH] Scripts: format the merged object class list in heap.rs --- crates/js/src/heap.rs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/crates/js/src/heap.rs b/crates/js/src/heap.rs index b7b0dd4a63..64f16c12a2 100644 --- a/crates/js/src/heap.rs +++ b/crates/js/src/heap.rs @@ -337,13 +337,9 @@ impl Class { Class::XmlFilter(_) => "Object", Class::Math => "Math", Class::Json => "JSON", - Class::Ordinary - | Class::ForIn(_) - | Class::Host(_) - | Class::FsEntry(_) - | Class::Symbol(_) - | Class::Iterator(_) - | Class::IterRecord(_) => "Object", + Class::Ordinary | Class::ForIn(_) | Class::Host(_) | Class::FsEntry(_) | Class::Symbol(_) | Class::Iterator(_) | Class::IterRecord(_) => { + "Object" + } Class::Array { .. } => "Array", Class::Function(_) => "Function", Class::Error(_) => "Error",