remove unesscessary lists:flatten call
This commit is contained in:
parent
9763ff189f
commit
a6aa97fff6
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ encode(literal, Literal, _Opts) ->
|
||||||
encode(integer, Integer, _Opts) ->
|
encode(integer, Integer, _Opts) ->
|
||||||
erlang:integer_to_list(Integer);
|
erlang:integer_to_list(Integer);
|
||||||
encode(float, Float, _Opts) ->
|
encode(float, Float, _Opts) ->
|
||||||
lists:flatten(io_lib:format("~p", [Float])).
|
[Output] = io_lib:format("~p", [Float]), Output.
|
||||||
|
|
||||||
|
|
||||||
space(Opts) ->
|
space(Opts) ->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue