Skip to content

Commit 9957155

Browse files
author
Simon MacMullen
committed
Update inner_fun spec.
1 parent 222ac74 commit 9957155

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rabbit_exchange.erl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@
6464
-type(bind_res() :: rabbit_types:ok_or_error('queue_not_found' |
6565
'exchange_not_found' |
6666
'exchange_and_queue_not_found')).
67-
-type(inner_fun() :: fun((rabbit_types:exchange(), queue()) -> any())).
67+
-type(inner_fun() :: fun((rabbit_types:exchange(), queue()) ->
68+
rabbit_types:ok_or_error('amqp_error'))).
6869

6970
-spec(recover/0 :: () -> 'ok').
7071
-spec(declare/5 ::

0 commit comments

Comments
 (0)