aboutsummaryrefslogtreecommitdiff
path: root/docs/functions.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-06 14:20:18 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-06 14:20:18 -0400
commit2bb2ff871fa1761478442bec5f6a32c9428360a1 (patch)
tree9b73df7a0c50c02353ae7bca7c2cd54788ef0077 /docs/functions.md
parent59845e610f2c90474f34079d27b5f1e07071ded4 (diff)
Change method calls to use `foo.baz()` instead of `foo:baz()`
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.