diff options
| author | Zuhaitz <zuhaitz.zechhub@gmail.com> | 2026-01-27 10:05:59 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-27 10:05:59 +0000 |
| commit | 86ae08ff28ee47c57546c487b0bdaab27c4ab5ad (patch) | |
| tree | db5fdf78be7bf9a7401730fdfda601969d2ad516 | |
| parent | 938773d9cc062fd028f6560b1127a2ecd23f61c3 (diff) | |
Fix array initialization syntax in README
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -206,7 +206,7 @@ let y: const int = 10; // Read-only (Type qualified) Fixed-size arrays with value semantics. ```zc def SIZE = 5; -let ints: int[SIZE] = {1, 2, 3, 4, 5}; +let ints: int[SIZE] = [1, 2, 3, 4, 5]; let zeros: [int; SIZE]; // Zero-initialized ``` |
