aboutsummaryrefslogtreecommitdiff
path: root/docs/integers.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-12-07 16:04:25 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-12-07 16:04:25 -0500
commit37f3e91f6c95d46f161dbde05b0a005fe7e7c17a (patch)
treec6e080ebbe7aed267b8ca0c5aec80fece51a5f65 /docs/integers.md
parenta201939a8150bc4c2f221925797ea2751c74b77c (diff)
Rename "NONE" to "none"
Diffstat (limited to 'docs/integers.md')
-rw-r--r--docs/integers.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/integers.md b/docs/integers.md
index c832949b..fe1fbc0c 100644
--- a/docs/integers.md
+++ b/docs/integers.md
@@ -220,7 +220,7 @@ func parse(text: Text -> Int?)
**Returns:**
The integer represented by the text. If the given text contains a value outside
of the representable range or if the entire text can't be parsed as an integer,
-`NONE` will be returned.
+`none` will be returned.
**Example:**
```tomo
@@ -231,11 +231,11 @@ of the representable range or if the entire text can't be parsed as an integer,
# Can't parse:
>> Int.parse("asdf")
-= NONE : Int?
+= none : Int?
# Outside valid range:
>> Int8.parse("9999999")
-= NONE : Int8?
+= none : Int8?
```
---