Merge pull request #8 from hiroshi-ya/patch-1

修复章节3.2中数组声明的语法错误
This commit is contained in:
Hector PENG
2026-02-05 13:04:49 +08:00
committed by GitHub

View File

@@ -319,7 +319,7 @@ let months = ["January", "February", "March", "April", "May", "June", "July",
```rust
let a: [i32, 5] = [-1, 0, 1, 2, 3];
let a: [i32; 5] = [-1, 0, 1, 2, 3];
```