summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2010-08-03 15:00:11 +0100
committerMatthew Sackman <matthew@rabbitmq.com>2010-08-03 15:00:11 +0100
commit97e24e2854c18dadcc9c48955cead1d01c734622 (patch)
treebe5672c32a436c0f29d6a703bcfe00895ef8c76e /src
parent6505332fdd8aef28c44de6de9368d1e9b9b2a39e (diff)
downloadrabbitmq-server-97e24e2854c18dadcc9c48955cead1d01c734622.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.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_exchange.erl b/src/rabbit_exchange.erl
index 8e3d529a..af4eb1bd 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') |