Skip to content

Commit 1dda73a

Browse files
authored
Merge pull request #10 from savi-lang/update/latest-savi
Update for latest Savi syntax.
2 parents 8ba662a + 5168103 commit 1dda73a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Unicode.savi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
:: or if it has no corresponding lowercase letter defined in the Unicode spec.
1313
:fun codepoint_to_uppercase!(code U32) U32
1414
other_code = @_case_info!(code)
15-
error! unless (other_code < 0x8000_0000)
15+
error! unless other_code < 0x8000_0000
1616
other_code
1717

1818
// These are functions used in the `_case_info!` method to distinguish
@@ -25,7 +25,7 @@
2525

2626
:fun _case_info!(code U32) U32
2727
// Fast path for ASCII
28-
return @_case_info_00_ascii!(code) if (code < 0x80)
28+
return @_case_info_00_ascii!(code) if code < 0x80
2929

3030
// Note: the following two websites are useful when working on this logic:
3131
// Search by pasted character: https://www.compart.com/en/unicode

0 commit comments

Comments
 (0)