aboutsummaryrefslogtreecommitdiffstats
path: root/src/ranch.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-11-25 14:49:45 +0100
committerLoïc Hoguin <[email protected]>2013-11-25 14:49:45 +0100
commit941371502643f8f240d79632af853df243b5acd0 (patch)
treeab7ff8963024197716263523b80f95994902cd05 /src/ranch.erl
parent33e1b4fcb0954f61588cb1baff905d107f74b467 (diff)
downloadranch-941371502643f8f240d79632af853df243b5acd0.tar.gz
ranch-941371502643f8f240d79632af853df243b5acd0.tar.bz2
ranch-941371502643f8f240d79632af853df243b5acd0.zip
Small fixes to specs
Diffstat (limited to 'src/ranch.erl')
-rw-r--r--src/ranch.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ranch.erl b/src/ranch.erl
index 74497f0..2db4921 100644
--- a/src/ranch.erl
+++ b/src/ranch.erl
@@ -175,7 +175,7 @@ set_protocol_options(Ref, Opts) ->
%% It takes a list of options, a list of allowed keys and an accumulator.
%% This accumulator can be used to set default options that should never
%% be overriden.
--spec filter_options([{atom(), any()} | {atom(), any(), any(), any()}],
+-spec filter_options([{atom(), any()} | {raw, any(), any(), any()}],
[atom()], Acc) -> Acc when Acc :: [any()].
filter_options([], _, Acc) ->
Acc;
@@ -200,7 +200,7 @@ set_option_default(Opts, Key, Value) ->
end.
%% @doc Start the given applications if they were not already started.
--spec require(list(module())) -> ok.
+-spec require([atom()]) -> ok.
require([]) ->
ok;
require([App|Tail]) ->