aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-03-16 17:07:22 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-03-16 17:07:22 -0400
commite80571e36f858fa1fc695e5e40e453294304401f (patch)
tree7bc85e98802cd4351cf0c2776b6dffd9fe912b46 /docs
parentf4f5fd4fdd9315667f048c578f3a441e6710250d (diff)
Remove enum type prefix when printing enum
Diffstat (limited to 'docs')
-rw-r--r--docs/enums.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/enums.md b/docs/enums.md
index c73379f8..72e4f3be 100644
--- a/docs/enums.md
+++ b/docs/enums.md
@@ -63,9 +63,9 @@ func increment(arg:ArgumentType -> ReturnType):
...
>> increment(AnInt(5))
-= ReturnType.AnInt(6)
+= AnInt(6)
>> increment(SomeText("HI"))
-= ReturnType.Nothiing
+= Nothiing
```
This lets us have overlapping tag names for different types, but smartly infer