Skip to content

Commit

Permalink
fix fmt error
Browse files Browse the repository at this point in the history
  • Loading branch information
shua committed Jan 20, 2025
1 parent 359b3d5 commit 8146afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/compiler/builtins/roc/Str.roc
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ encode_utf8 = |list, c|
),
)
else if c < 0x10000 then
if (c >= 0xd800) && (c < 0xe000) then
if (c >= 0xd800) and (c < 0xe000) then
Err(EncodesSurrogateHalf)
else
Ok(
Expand Down

0 comments on commit 8146afc

Please sign in to comment.