summaryrefslogtreecommitdiff
path: root/src/delegate_sup.erl
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2010-07-07 12:12:42 +0100
committerMatthew Sackman <matthew@rabbitmq.com>2010-07-07 12:12:42 +0100
commite75093380c58fbdb46953507c50d211dc34aacfb (patch)
tree72fa3c4b2a59529a6b1ac1cba75d200d11856076 /src/delegate_sup.erl
parent5f122da1e9de4bc315021127011aca19d15a1b33 (diff)
downloadrabbitmq-server-e75093380c58fbdb46953507c50d211dc34aacfb.tar.gz
Introduced and used ok_or_error2(A,B). Also verified everything seems happy under R13B03
Diffstat (limited to 'src/delegate_sup.erl')
-rw-r--r--src/delegate_sup.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/delegate_sup.erl b/src/delegate_sup.erl
index b5274d5d..39ef3f85 100644
--- a/src/delegate_sup.erl
+++ b/src/delegate_sup.erl
@@ -43,8 +43,7 @@
-ifdef(use_specs).
--spec(start_link/0 ::
- () -> rabbit_types:ok(pid()) | 'ignore' | rabbit_types:error(any())).
+-spec(start_link/0 :: () -> rabbit_types:ok_or_error2(pid(), any()) | 'ignore').
-endif.