docs: 补充注释与格式化

This commit is contained in:
2026-08-06 23:10:27 +08:00
parent e36a69976e
commit 31e28a03a6
156 changed files with 2393 additions and 1687 deletions
+3 -3
View File
@@ -127,7 +127,7 @@ fn fd_calls_builtin_two_args() {
assert!((result.as_double() - 9.0).abs() < 0.0001);
}
// --- Multiple FDs, first FD calls second ---
// ── 多个函数声明,首个调用第二个 ──
#[test]
fn fd_chain_call() {
@@ -136,7 +136,7 @@ fn fd_chain_call() {
assert_eq!(result.as_int(), 10);
}
// --- new Xxx() in function ---
// ── 函数内的 new Xxx() ──
#[test]
fn fd_returns_new_object() {
@@ -152,7 +152,7 @@ fn fd_returns_new_array() {
assert!(result.is_object());
}
// --- this expression ---
// ── this 表达式 ──
#[test]
fn this_in_function_reads_value() {