diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-12-07 16:04:25 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-12-07 16:04:25 -0500 |
| commit | 37f3e91f6c95d46f161dbde05b0a005fe7e7c17a (patch) | |
| tree | c6e080ebbe7aed267b8ca0c5aec80fece51a5f65 /examples/base64 | |
| parent | a201939a8150bc4c2f221925797ea2751c74b77c (diff) | |
Rename "NONE" to "none"
Diffstat (limited to 'examples/base64')
| -rw-r--r-- | examples/base64/base64.tm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/base64/base64.tm b/examples/base64/base64.tm index bed94ac1..52af6e89 100644 --- a/examples/base64/base64.tm +++ b/examples/base64/base64.tm @@ -59,10 +59,10 @@ lang Base64: output[dest+2] = _EQUAL_BYTE output[dest+3] = _EQUAL_BYTE - return Base64.without_escaping(Text.from_bytes(output) or return NONE) + return Base64.without_escaping(Text.from_bytes(output) or return none) func decode_text(b64:Base64 -> Text?): - return Text.from_bytes(b64:decode_bytes() or return NONE) + return Text.from_bytes(b64:decode_bytes() or return none) func decode_bytes(b64:Base64 -> [Byte]?): bytes := b64.text_content:bytes() |
