diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2011-08-04 13:35:11 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2011-08-04 13:35:11 +0100 |
commit | daa02553c4edb37e1f245528da543b764b90683b (patch) | |
tree | 95b60e4d4cd40311d93f0bea2973a91fb5ed6eed | |
parent | 2214f8a8ec047d32c78d8de94e2aa952d326e969 (diff) | |
download | rabbitmq-server-daa02553c4edb37e1f245528da543b764b90683b.tar.gz |
More generic.
-rw-r--r-- | src/rabbit_misc.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl index a5c475b7..b98dbd46 100644 --- a/src/rabbit_misc.erl +++ b/src/rabbit_misc.erl @@ -165,7 +165,7 @@ -spec(append_file/2 :: (file:filename(), string()) -> ok_or_error()). -spec(ensure_parent_dirs_exist/1 :: (string()) -> 'ok'). -spec(format_stderr/2 :: (string(), [any()]) -> 'ok'). --spec(with_local_io/1 :: (fun (() -> 'ok')) -> 'ok'). +-spec(with_local_io/1 :: (fun (() -> A)) -> A). -spec(start_applications/1 :: ([atom()]) -> 'ok'). -spec(stop_applications/1 :: ([atom()]) -> 'ok'). -spec(unfold/2 :: (fun ((A) -> ({'true', B, A} | 'false')), A) -> {[B], A}). |