summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
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
```