Get rid of a few dialyzer warnings

This commit is contained in:
Carlos Martín Nieto
2014-02-14 00:40:48 +01:00
parent 378c04284a
commit 1a79093274
3 changed files with 5 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ hex(Oid) ->
geef_nif:oid_fmt(Oid).
%% @doc Parse an iolist as a hash
-spec parse(iolist()) -> geef_oid:oid().
-spec parse(iolist() | binary()) -> geef_oid:oid().
parse(Sha) ->
geef_nif:oid_parse(Sha).