commit | 3f478cf0c51e9cf18dec00c248ef426d84934c44 | [log] [tgz] |
---|---|---|
author | Paul J. Davis <paul.joseph.davis@gmail.com> | Thu Dec 10 10:06:31 2020 -0600 |
committer | Paul J. Davis <paul.joseph.davis@gmail.com> | Thu Dec 10 10:06:31 2020 -0600 |
tree | 31a2545d9fa8d24701e5cf33fcc75be661400e07 | |
parent | a3c36d652cc7f5f942d3f23ee9dd5a488746c70e [diff] |
Remove unnecessary `maybe_map/1` Thought slightly harder and realized this was unnecessary.
diff --git a/src/jiffy.erl b/src/jiffy.erl index 1f3e2ad..6af15b5 100644 --- a/src/jiffy.erl +++ b/src/jiffy.erl
@@ -137,7 +137,7 @@ 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).