Skip to content

Commit c47c5e9

Browse files
authored
improved comment
1 parent 884c319 commit c47c5e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/compiler/builtins/roc/Inspect.roc

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ dbgStr = \s ->
259259
f0
260260
|> dbgWrite "\""
261261
|> \f1 ->
262-
# escape invisible unicode characters
262+
# escape invisible unicode characters as in fmt_str_body crates/compiler/fmt/src/expr.rs
263263
escapeS = Str.replaceEach s "\u(feff)" "\\u(feff)"
264264
|> Str.replaceEach "\u(200b)" "\\u(200b)"
265265
|> Str.replaceEach "\u(200c)" "\\u(200c)"

0 commit comments

Comments
 (0)