mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-27 12:11:12 +08:00
chore: rustfmt 全量格式化——CI fmt check 差异清零
This commit is contained in:
@@ -18,9 +18,8 @@ fn multi_string<H: VmHost>(vm: &mut H, args: &[u8]) -> String {
|
||||
let part = if val.is_string() {
|
||||
oxide_runtime_api::to_string(val)
|
||||
} else {
|
||||
let primitive =
|
||||
oxide_runtime_api::to_primitive(val, oxide_runtime_api::ToPrimitiveHint::String, vm)
|
||||
.unwrap_or_else(|_| JsValue::undefined());
|
||||
let primitive = oxide_runtime_api::to_primitive(val, oxide_runtime_api::ToPrimitiveHint::String, vm)
|
||||
.unwrap_or_else(|_| JsValue::undefined());
|
||||
oxide_runtime_api::to_string(primitive)
|
||||
};
|
||||
output.push_str(&part);
|
||||
|
||||
Reference in New Issue
Block a user