summaryrefslogtreecommitdiff
path: root/src/worker_pool_sup.erl
diff options
context:
space:
mode:
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.