mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
Rename Json.format to Json.toUtf8
This commit is contained in:
parent
31f7d72ce0
commit
518b21c3f8
4 changed files with 26 additions and 26 deletions
|
@ -6475,7 +6475,7 @@ mod solve_expr {
|
|||
|> Encode.appendWith (Encode.string "Hello, World!\n") fmt
|
||||
|
||||
main =
|
||||
when Str.fromUtf8 (Encode.toBytes (@HelloWorld {}) Json.format) is
|
||||
when Str.fromUtf8 (Encode.toBytes (@HelloWorld {}) Json.toUtf8) is
|
||||
Ok s -> s
|
||||
_ -> "<bad>"
|
||||
"#
|
||||
|
@ -7157,7 +7157,7 @@ mod solve_expr {
|
|||
|
||||
main =
|
||||
foo = 1
|
||||
@Go it = (f (@Fo {})) {}
|
||||
@Go it = (f (@Fo {})) {}
|
||||
# ^
|
||||
# ^^^^^^^^^^
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue