浏览代码

Add `use_nil` to `encode_option`

A call to `jiffy:encode(Term, [use_nil]).` will currently cause dialyzer
to issue a warning because `use_nil` is not included in `encode_option`.
This appears to just be an omission.
pull/121/head
Dan Swain 9 年前
父节点
当前提交
100d847025
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      src/jiffy.erl

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

@ -46,6 +46,7 @@
-type encode_option() :: uescape
| pretty
| force_utf8
| use_nil
| escape_forward_slashes
| {bytes_per_iter, non_neg_integer()}
| {bytes_per_red, non_neg_integer()}.

正在加载...
取消
保存