summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2011-01-27 12:21:44 +0000
committerMatthew Sackman <matthew@rabbitmq.com>2011-01-27 12:21:44 +0000
commitba418f0f7c06821af7ce7d3719f35895830c1acd (patch)
tree71dd855ed2b8c46d52264245f7457b7b35b59a9b
parent6a8e793de751abe45de86a792afbf3fb3fe49e5f (diff)
downloadrabbitmq-server-ba418f0f7c06821af7ce7d3719f35895830c1acd.tar.gz
Correct specs
-rw-r--r--src/rabbit_amqqueue.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue.erl b/src/rabbit_amqqueue.erl
index 95ac1301..a6da551d 100644
--- a/src/rabbit_amqqueue.erl
+++ b/src/rabbit_amqqueue.erl
@@ -137,7 +137,9 @@
-> queue_or_not_found() | rabbit_misc:thunk(queue_or_not_found())).
-spec(internal_delete/1 ::
(name()) -> rabbit_types:ok_or_error('not_found') |
- rabbit_types:connection_exit()).
+ rabbit_types:connection_exit() |
+ fun ((boolean()) -> rabbit_types:ok_or_error('not_found') |
+ rabbit_types:connection_exit())).
-spec(maybe_run_queue_via_backing_queue/2 ::
(pid(), (fun ((A) -> {[rabbit_guid:guid()], A}))) -> 'ok').
-spec(maybe_run_queue_via_backing_queue_async/2 ::