瀏覽代碼

Remove unnecessary `maybe_map/1`

Thought slightly harder and realized this was unnecessary.
pull/207/head
Paul J. Davis 4 年之前
父節點
當前提交
3f478cf0c5
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/jiffy.erl

+ 1
- 1
src/jiffy.erl 查看文件

@ -137,7 +137,7 @@ finish_decode({Pairs}) when is_list(Pairs) ->
finish_decode(Vals) when is_list(Vals) ->
finish_decode_arr(Vals, []);
finish_decode({has_trailer, Value, Rest}) ->
{has_trailer, maybe_map(finish_decode(Value)), Rest};
{has_trailer, finish_decode(Value), Rest};
finish_decode(Val) ->
maybe_map(Val).

Loading…
取消
儲存