diff options
| author | Matthew Sackman <matthew@rabbitmq.com> | 2010-08-03 15:00:11 +0100 |
|---|---|---|
| committer | Matthew Sackman <matthew@rabbitmq.com> | 2010-08-03 15:00:11 +0100 |
| commit | 2fb0da0b3994152e97b7bb44ab40fe7703791139 (patch) | |
| tree | be5672c32a436c0f29d6a703bcfe00895ef8c76e /src | |
| parent | be0511cbb4391055524d666f110744b1a92bd0b7 (diff) | |
| download | rabbitmq-server-git-2fb0da0b3994152e97b7bb44ab40fe7703791139.tar.gz | |
Correct specs of post functions from exchanges. none() is the empty set. No value belongs to the empty set. So clearly none() was wrong
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_exchange.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_exchange.erl b/src/rabbit_exchange.erl index 8e3d529a4b..af4eb1bd79 100644 --- a/src/rabbit_exchange.erl +++ b/src/rabbit_exchange.erl @@ -109,9 +109,9 @@ -> [{name(), rabbit_amqqueue:name(), rabbit_router:routing_key(), rabbit_framing:amqp_table()}]). -spec(delete_queue_bindings/1 :: - (rabbit_amqqueue:name()) -> fun (() -> none())). + (rabbit_amqqueue:name()) -> fun (() -> any())). -spec(delete_transient_queue_bindings/1 :: - (rabbit_amqqueue:name()) -> fun (() -> none())). + (rabbit_amqqueue:name()) -> fun (() -> any())). -spec(delete/2 :: (name(), boolean())-> 'ok' | rabbit_types:error('not_found') | |
