Skip to content

Commit 19665bb

Browse files
committed
Fix a type that caused a Dialyzer warning
1 parent b49c242 commit 19665bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rabbit_amqqueue.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
-type qpids() :: [pid()].
7878
-type qlen() :: rabbit_types:ok(non_neg_integer()).
7979
-type qfun(A) :: fun ((amqqueue:amqqueue()) -> A | no_return()).
80-
-type qmsg() :: {name(), pid(), msg_id(), boolean(), rabbit_types:message()}.
80+
-type qmsg() :: {name(), pid() | {atom(), pid()}, msg_id(), boolean(), rabbit_types:message()}.
8181
-type msg_id() :: non_neg_integer().
8282
-type ok_or_errors() ::
8383
'ok' | {'error', [{'error' | 'exit' | 'throw', any()}]}.

0 commit comments

Comments
 (0)