diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2010-11-07 22:58:43 +0000 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2010-11-07 22:58:43 +0000 |
commit | 9a5ae2ab325cb19cd7b4d392577e9eee80eeb998 (patch) | |
tree | dd69cdc5e6c32aa1747f81ce85d3d71fd3c55cd3 | |
parent | d8f59739919ba9c5afbf91fc14ec73f693f95f39 (diff) | |
download | rabbitmq-server-9a5ae2ab325cb19cd7b4d392577e9eee80eeb998.tar.gz |
another attempt at fixing the type specs for enable/report_cover
-rw-r--r-- | src/rabbit_misc.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl index bab70be5..30faaa8a 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). |