aboutsummaryrefslogtreecommitdiff
path: root/docs/sets.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-10-27 21:14:27 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-10-27 21:14:27 -0400
commitce2aebe91085f987aab31bd2a49820fb605cf386 (patch)
tree9241858c01f68b4eccd2be88f8e12997c885cf46 /docs/sets.md
parentefb7be5bc4876c3113041848fb6d901a4f3ab4e9 (diff)
Update docs to reflect deprecation of "&" stack references
Diffstat (limited to 'docs/sets.md')
-rw-r--r--docs/sets.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/sets.md b/docs/sets.md
index bc1b3aca..e9c44b29 100644
--- a/docs/sets.md
+++ b/docs/sets.md
@@ -133,7 +133,7 @@ Adds multiple items to the set.
**Signature:**
```tomo
-func add_all(set:&{T}, items: [T] -> Void)
+func add_all(set:@{T}, items: [T] -> Void)
```
**Parameters:**
@@ -158,7 +158,7 @@ Removes an item from the set.
**Signature:**
```tomo
-func remove(set:&{T}, item: T -> Void)
+func remove(set:@{T}, item: T -> Void)
```
**Parameters:**
@@ -183,7 +183,7 @@ Removes multiple items from the set.
**Signature:**
```tomo
-func remove_all(set:&{T}, items: [T] -> Void)
+func remove_all(set:@{T}, items: [T] -> Void)
```
**Parameters:**
@@ -208,7 +208,7 @@ Removes all items from the set.
**Signature:**
```tomo
-func clear(set:&{T} -> Void)
+func clear(set:@{T} -> Void)
```
**Parameters:**