chore: 清理 oxide_vm clippy 告警

This commit is contained in:
2026-08-14 05:26:46 +08:00
parent ae58508760
commit 7799ebb055
14 changed files with 29 additions and 36 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ fn format_value(vm: &Vm, val: oxide_vm::JsValue) -> String {
None => "<pending>".to_string(),
}
} else if obj.is_array() {
format!("[array]")
"[array]".to_string()
} else {
"[object]".to_string()
}