Skip to content

Commit 0164382

Browse files
Update lib/elixir/lib/json.ex
Co-authored-by: Wojtek Mach <[email protected]>
1 parent 591c461 commit 0164382

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/json.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ defmodule JSON do
240240
A shortcut for `encode_to_iodata/2` used for compatibility purposes.
241241
242242
If you are targetting the `JSON` module directly, do not use
243-
this function, use `JSON.encode/2` instead. This function will
243+
this function, use `JSON.encode_to_iodata/2` instead. This function will
244244
be deprecated in Elixir v1.22
245245
"""
246246
@doc deprecated: "Use JSON.encode_to_iodata/2 instead"

0 commit comments

Comments
 (0)