aboutsummaryrefslogtreecommitdiff
path: root/docs/nums.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-06 23:37:05 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-06 23:37:05 -0400
commit1a196aa8f724971e531487f9cdd541f7957cfd92 (patch)
tree52a36701065ab0e3f7012765c909c3b2a3fd2e49 /docs/nums.md
parent4a3db447ce820617a72bdd9fc6217c84c3799bea (diff)
Update syntax in docs
Diffstat (limited to 'docs/nums.md')
-rw-r--r--docs/nums.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/nums.md b/docs/nums.md
index 34e513ef..1cc3782a 100644
--- a/docs/nums.md
+++ b/docs/nums.md
@@ -71,7 +71,7 @@ y := 1.0
# implicit `!`:
x = x/y
-func doop(x:Num -> Num):
+func doop(x:Num -> Num)
# If a function's return type is non-optional and an optional value is
# used in a return statement, an implicit none check will be inserted and
# will error if the value is none: