style: 自动格式化

This commit is contained in:
2026-06-14 17:21:49 +08:00
parent 8a8a6e055c
commit 111c61d4d7
23 changed files with 181 additions and 46 deletions
+5 -1
View File
@@ -13,7 +13,11 @@ pub fn boolean_constructor(vm: &mut Vm, args: &[u8]) -> NativeResult {
} else if arg.is_bool() {
arg.as_bool()
} else if arg.is_string() {
let s = vm.kernel_core().string_forge().lookup(arg.as_string_index()).unwrap_or_default();
let s = vm
.kernel_core()
.string_forge()
.lookup(arg.as_string_index())
.unwrap_or_default();
!s.is_empty()
} else if arg.is_object() {
true