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/tables.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/tables.md') diff --git a/docs/tables.md b/docs/tables.md index eb727d7e..1de58118 100644 --- a/docs/tables.md +++ b/docs/tables.md @@ -118,7 +118,7 @@ not already in the table, its value will be assumed to be zero. **Signature:** ```tomo -func bump(t:&{K:V}, key: K, amount: Int = 1 -> Void) +func bump(t:@{K:V}, key: K, amount: Int = 1 -> Void) ``` **Parameters:** @@ -148,7 +148,7 @@ Removes all key-value pairs from the table. **Signature:** ```tomo -func clear(t:&{K:V}) +func clear(t:@{K:V}) ``` **Parameters:** -- cgit v1.2.3