feat: let mut 改为 var 关键字声明可变变量

This commit is contained in:
2026-06-05 19:47:00 +08:00
parent a28d33854c
commit ab4cc9a28b
10 changed files with 27 additions and 28 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ graph TB
| 无返回值 | `void` | 函数默认 |
| 类型别名 | `type` | `type Meters = i64;` |
- `let` 不可变 + `let mut` 可变,类型推断
- `let` 不可变 + `var` 可变,类型推断
- `i64``f64` 自动提升
### 控制流