aboutsummaryrefslogtreecommitdiff
path: root/docs/functions.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-06 15:11:26 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-06 15:11:26 -0400
commitfb216e955f04a803f11953be27e76bd4d2c9e76d (patch)
treede2c471c5416ec2ee490bdb33f5e3e202d94675a /docs/functions.md
parent73246764f88f6f652316ee0c138a990d836698a7 (diff)
Use colons instead of '=' for tables (e.g. {1: 2})
Diffstat (limited to 'docs/functions.md')
-rw-r--r--docs/functions.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/functions.md b/docs/functions.md
index d68d72d0..72279c11 100644
--- a/docs/functions.md
+++ b/docs/functions.md
@@ -82,7 +82,7 @@ func _add(x, y:Int -> Int)
return x + y
struct add_args(x,y:Int)
-add_cache : @{add_args=Int} = @{}
+add_cache : @{add_args: Int} = @{}
func add(x, y:Int -> Int)
args := add_args(x, y)