aboutsummaryrefslogtreecommitdiff
path: root/docs/nums.md
diff options
context:
space:
mode:
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: