Skip to content

Commit

Permalink
fix dialyzer erros
Browse files Browse the repository at this point in the history
fix #17
  • Loading branch information
benoitc committed Apr 14, 2014
1 parent 60b7061 commit c6faa87
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/hackney_bstr.erl
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@
params/2,
parameterized_tokens/1,
whitespace/2,
digits/1,
digits/1, digits/2, digits/3,
alpha/2,
word/2]).

-export([content_type/1]).

-export([quoted_string/2]).

to_binary(V) when is_list(V) ->
list_to_binary(V);
to_binary(V) when is_atom(V) ->
Expand Down Expand Up @@ -352,8 +354,7 @@ content_type(Name) ->
end.


%% internals
%%

-spec quoted_string(binary(), fun()) -> any().
quoted_string(<< $", Rest/binary >>, Fun) ->
quoted_string(Rest, Fun, <<>>).
Expand Down

0 comments on commit c6faa87

Please sign in to comment.