summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_misc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl
index 5b021b36cc..2f329aa91c 100644
--- a/src/rabbit_misc.erl
+++ b/src/rabbit_misc.erl
@@ -110,7 +110,7 @@
-spec(format_stderr/2 :: (string(), [any()]) -> 'true').
-spec(start_applications/1 :: ([atom()]) -> 'ok').
-spec(stop_applications/1 :: ([atom()]) -> 'ok').
--spec(unfold/2 :: (fun ((A) -> ({'true', B, A} | 'false'))) -> A -> [B])
+-spec(unfold/2 :: (fun ((A) -> ({'true', B, A} | 'false')), A) -> [B]).
-endif.