aboutsummaryrefslogtreecommitdiff
path: root/docs/metamethods.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/metamethods.md
parentefb7be5bc4876c3113041848fb6d901a4f3ab4e9 (diff)
Update docs to reflect deprecation of "&" stack references
Diffstat (limited to 'docs/metamethods.md')
-rw-r--r--docs/metamethods.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/metamethods.md b/docs/metamethods.md
index dbd11069..ca2ecccd 100644
--- a/docs/metamethods.md
+++ b/docs/metamethods.md
@@ -3,7 +3,7 @@
This language relies on a small set of "metamethods" which define special
behavior that is required for all types:
-- `func as_text(obj:&(optional)T, colorize=no, type:&TypeInfo_t -> Text)`: a method to
+- `func as_text(obj:&T?, colorize=no, type:&TypeInfo_t -> Text)`: a method to
convert the type to a string. If `colorize` is `yes`, then the method should
include ANSI escape codes for syntax highlighting. If the `obj` pointer is
`NULL`, a string representation of the type will be returned instead.