Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package/CodePoint.roc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module [
isHighSurrogate,
isLowSurrogate,
isValidScalar,
parsePartialUtf8,
appendUtf8,
parseUtf8,
countUtf8Bytes,
Expand Down Expand Up @@ -122,7 +123,6 @@ appendUtf8 = \bytes, codePoint ->
## This was an invalid Unicode scalar value, even though it had the Roc type Scalar.
## This should never happen!
# expect u32 < 0x110000

byte1 =
u32
|> Num.shiftRightBy 18
Expand Down