style: 自动格式化

This commit is contained in:
爱特每羊队
2026-06-30 20:04:27 +08:00
parent b915f127ca
commit 429cb6d9de
4 changed files with 16 additions and 5 deletions
+6 -2
View File
@@ -163,7 +163,9 @@ impl Vm {
if cell_ptr.is_null() {
return Ok(());
}
unsafe { (*cell_ptr).value = src_val; }
unsafe {
(*cell_ptr).value = src_val;
}
Ok(())
}
@@ -197,7 +199,9 @@ impl Vm {
if uv_idx < upvals.len() {
let cell = upvals[uv_idx];
if !cell.is_null() {
unsafe { (*cell).value = src_val; }
unsafe {
(*cell).value = src_val;
}
}
}
}