Explorar el Código

Remove unnecessary `maybe_map/1`

Thought slightly harder and realized this was unnecessary.
pull/207/head
Paul J. Davis hace 4 años
padre
commit
3f478cf0c5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/jiffy.erl

+ 1
- 1
src/jiffy.erl Ver fichero

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

Cargando…
Cancelar
Guardar