From 37f3e91f6c95d46f161dbde05b0a005fe7e7c17a Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 7 Dec 2024 16:04:25 -0500 Subject: Rename "NONE" to "none" --- docs/integers.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/integers.md') 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? ``` --- -- cgit v1.2.3