From 8146afc860d631057279cec7c0d4405ce1f5b2a9 Mon Sep 17 00:00:00 2001 From: shua Date: Mon, 20 Jan 2025 23:12:48 +0100 Subject: [PATCH] fix fmt error --- crates/compiler/builtins/roc/Str.roc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/compiler/builtins/roc/Str.roc b/crates/compiler/builtins/roc/Str.roc index 11b2b48c0b..ebab44c284 100644 --- a/crates/compiler/builtins/roc/Str.roc +++ b/crates/compiler/builtins/roc/Str.roc @@ -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(