aboutsummaryrefslogtreecommitdiff
path: root/src/gen_iq_handler.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gen_iq_handler.erl')
-rw-r--r--src/gen_iq_handler.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gen_iq_handler.erl b/src/gen_iq_handler.erl
index 49d1d8e3e..f6a6744fd 100644
--- a/src/gen_iq_handler.erl
+++ b/src/gen_iq_handler.erl
@@ -154,8 +154,7 @@ transform_module_options(Opts) ->
Opt
end, Opts).
--spec opt_type(iqdisc) -> fun((any()) -> no_queue);
- (atom()) -> [atom()].
+-spec opt_type(atom()) -> fun((any()) -> any()) | [atom()].
opt_type(iqdisc) -> fun check_type/1;
opt_type(_) -> [iqdisc].