aboutsummaryrefslogtreecommitdiff
path: root/docs/arrays.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/arrays.md')
-rw-r--r--docs/arrays.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/arrays.md b/docs/arrays.md
index e3da6e0e..437ab76f 100644
--- a/docs/arrays.md
+++ b/docs/arrays.md
@@ -18,7 +18,7 @@ you want to have an empty array, you must specify what type goes inside the arra
like this:
```tomo
-empty := [:Int]
+empty : [Int] = []
```
For type annotations, an array that holds items with type `T` is written as `[T]`.