summaryrefslogtreecommitdiff
path: root/src
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
commit4605a42a7f1371578bf089fd39735ad6d56d4e7f (patch)
tree71dd855ed2b8c46d52264245f7457b7b35b59a9b /src
parent1ed46ae197155be72bcf86182a55ff3f77957b48 (diff)
downloadrabbitmq-server-git-4605a42a7f1371578bf089fd39735ad6d56d4e7f.tar.gz
Correct specs
Diffstat (limited to 'src')
-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 95ac1301b1..a6da551d15 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 ::