style: 自动格式化

This commit is contained in:
2026-10-15 15:51:40 +00:00
parent d4d5b578de
commit cbf55b299e
4 changed files with 27 additions and 46 deletions
+5 -1
View File
@@ -74,7 +74,11 @@ impl Vm {
return Ok(result);
}
let method_names = if hint.prefer_string() { ["toString", "valueOf"] } else { ["valueOf", "toString"] };
let method_names = if hint.prefer_string() {
["toString", "valueOf"]
} else {
["valueOf", "toString"]
};
for method_name in method_names {
let method_si = self.kernel_core.perm_interner().intern(method_name).0;