From 86ae08ff28ee47c57546c487b0bdaab27c4ab5ad Mon Sep 17 00:00:00 2001 From: Zuhaitz Date: Tue, 27 Jan 2026 10:05:59 +0000 Subject: Fix array initialization syntax in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4f4a5d7..6a6f598 100644 --- a/README.md +++ b/README.md @@ -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 ``` -- cgit v1.2.3