summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2010-11-07 22:58:43 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2010-11-07 22:58:43 +0000
commit9bc51f406b3fb9ec32261e3fcdf33fc175154b62 (patch)
treedd69cdc5e6c32aa1747f81ce85d3d71fd3c55cd3 /src
parent1062afca2d25c27b628ca8096bf40751d5fce6fa (diff)
downloadrabbitmq-server-git-9bc51f406b3fb9ec32261e3fcdf33fc175154b62.tar.gz
another attempt at fixing the type specs for enable/report_cover
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_misc.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl
index bab70be5c5..30faaa8a14 100644
--- a/src/rabbit_misc.erl
+++ b/src/rabbit_misc.erl
@@ -129,8 +129,8 @@
-spec(enable_cover/0 :: () -> ok_or_error()).
-spec(start_cover/1 :: ([{string(), string()} | string()]) -> 'ok').
-spec(report_cover/0 :: () -> 'ok').
--spec(enable_cover/1 :: (file:filename() | atom()) -> ok_or_error()).
--spec(report_cover/1 :: (file:filename() | atom()) -> 'ok').
+-spec(enable_cover/1 :: (file:filename() | [atom(), ...]) -> ok_or_error()).
+-spec(report_cover/1 :: (file:filename() | [atom(), ...]) -> 'ok').
-spec(throw_on_error/2 ::
(atom(), thunk(rabbit_types:error(any()) | {ok, A} | A)) -> A).
-spec(with_exit_handler/2 :: (thunk(A), thunk(A)) -> A).