소스 검색

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).

불러오는 중...
취소
저장