From ce2aebe91085f987aab31bd2a49820fb605cf386 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 27 Oct 2024 21:14:27 -0400 Subject: Update docs to reflect deprecation of "&" stack references --- docs/sets.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/sets.md') 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:** -- cgit v1.2.3