style: 自动格式化

This commit is contained in:
爱特每羊队
2026-06-14 17:21:49 +08:00
parent 4c3a5830c9
commit 317a84a055
23 changed files with 181 additions and 46 deletions
+4 -1
View File
@@ -23,7 +23,10 @@ fn get_regexp_ptr(vm: &Vm, args: &[u8]) -> Result<*mut JsObject, JsValue> {
}
if !unsafe { &*ptr }.is_regexp_obj() {
return Err(JsValue::string(
vm.kernel_core().string_forge().intern("TypeError: RegExp.prototype method called on non-RegExp object").0,
vm.kernel_core()
.string_forge()
.intern("TypeError: RegExp.prototype method called on non-RegExp object")
.0,
0,
));
}