chore: 清理 oxide_vm clippy 告警
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user