aboutsummaryrefslogtreecommitdiff
path: root/docs/optionals.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/optionals.md
parent59845e610f2c90474f34079d27b5f1e07071ded4 (diff)
Change method calls to use `foo.baz()` instead of `foo:baz()`
Diffstat (limited to 'docs/optionals.md')
-rw-r--r--docs/optionals.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/optionals.md b/docs/optionals.md
index ff4252d1..7b100dc7 100644
--- a/docs/optionals.md
+++ b/docs/optionals.md
@@ -119,7 +119,7 @@ func do_stuff(matches:[Text]):
pass
for line in lines:
- matches := line:matches($/{..},{..}/) or skip
+ matches := line.matches($/{..},{..}/) or skip
# The `or skip` above means that if we're here, `matches` is non-none:
do_stuff(matches)
```