aboutsummaryrefslogtreecommitdiff
path: root/docs/pointers.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/pointers.md')
-rw-r--r--docs/pointers.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/pointers.md b/docs/pointers.md
index 174c4296..f1bd1b5a 100644
--- a/docs/pointers.md
+++ b/docs/pointers.md
@@ -113,7 +113,7 @@ inside of any datastructures as elements or members.
```tomo
nums := @[10, 20, 30]
>> nums:first(func(x:&Int): x / 2 == 10)
-= 2?
+= 2 : Int?
```
Normal `@` pointers can be promoted to immutable view pointers automatically,