Skip to content

Commit 90a8200

Browse files
Merge pull request #11 from DilsonHiga/main
Exposes CodePoint.parsePartialUtf8
2 parents 364b7a6 + 49dd453 commit 90a8200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/CodePoint.roc

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ module [
77
isHighSurrogate,
88
isLowSurrogate,
99
isValidScalar,
10+
parsePartialUtf8,
1011
appendUtf8,
1112
parseUtf8,
1213
countUtf8Bytes,
@@ -122,7 +123,6 @@ appendUtf8 = \bytes, codePoint ->
122123
## This was an invalid Unicode scalar value, even though it had the Roc type Scalar.
123124
## This should never happen!
124125
# expect u32 < 0x110000
125-
126126
byte1 =
127127
u32
128128
|> Num.shiftRightBy 18

0 commit comments

Comments
 (0)