summaryrefslogtreecommitdiff
path: root/src/worker_pool_sup.erl
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2010-07-06 11:46:40 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2010-07-06 11:46:40 +0100
commitf585792df291dd5566bbc6853309bdc9d299a895 (patch)
tree1f12b4a5a292ef8bc5699f3948b20b8b0acd9b28 /src/worker_pool_sup.erl
parent12806334fb5123f8a2229cc28951cd51c9ba5e3c (diff)
downloadrabbitmq-server-f585792df291dd5566bbc6853309bdc9d299a895.tar.gz
{'ok', A} -> rabbit_types:ok(A)
Diffstat (limited to 'src/worker_pool_sup.erl')
-rw-r--r--src/worker_pool_sup.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/worker_pool_sup.erl b/src/worker_pool_sup.erl
index dbffff10..3d9d5b16 100644
--- a/src/worker_pool_sup.erl
+++ b/src/worker_pool_sup.erl
@@ -41,9 +41,9 @@
-ifdef(use_specs).
--spec(start_link/0 :: () -> {'ok', pid()} | 'ignore' | rabbit_types:error(any())).
+-spec(start_link/0 :: () -> rabbit_types:ok(pid()) | 'ignore' | rabbit_types:error(any())).
-spec(start_link/1 ::
- (non_neg_integer()) -> {'ok', pid()} | 'ignore' | rabbit_types:error(any())).
+ (non_neg_integer()) -> rabbit_types:ok(pid()) | 'ignore' | rabbit_types:error(any())).
-endif.