Skip to content

Commit

Permalink
Fix type specification
Browse files Browse the repository at this point in the history
Fixes dialyzer error
  • Loading branch information
reiddraper committed Jan 16, 2014
1 parent 842c13a commit 2f32ef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/riak_cs_acl_utils.erl
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ parse_grant_header_value(HeaderValue) ->
%% into:
%% `["emailAddress=\"[email protected]\"",
%% "emailAddress=\"[email protected]\""]'
-spec split_header_values_and_strip(string()) -> string().
-spec split_header_values_and_strip(string()) -> [string()].
split_header_values_and_strip(Value) ->
[string:strip(V) || V <- string:tokens(Value, ",")].

Expand Down

0 comments on commit 2f32ef8

Please sign in to comment.