aboutsummaryrefslogtreecommitdiff
path: root/docs/functions.md
diff options
context:
space:
mode:
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 9f95277f..ba5e86b3 100644
--- a/docs/functions.md
+++ b/docs/functions.md
@@ -35,7 +35,7 @@ callsite:
```
**Note:** Default arguments are re-evaluated at the callsite for each function
-call, so if your default argument is `func foo(x=random:int(1,10) -> Int)`, then
+call, so if your default argument is `func foo(x=random.int(1,10) -> Int)`, then
each time you call the function without an `x` argument, it will give you a new
random number.