summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-08-08 16:11:59 +0100
committerSimon MacMullen <simon@rabbitmq.com>2014-08-08 16:11:59 +0100
commita7df1553ff876998a5171df3ef9e636123c91e51 (patch)
treecc08fa953e37a3ab5521907efcb70edefc1369b2
parent326b1c38c4765a09b89a4a55760b021fb79a76d7 (diff)
downloadrabbitmq-server-a7df1553ff876998a5171df3ef9e636123c91e51.tar.gz
Fix type error (introed in 24926 I think) spotted by Dialyzer.
-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 09355f3f..a5cd1bdd 100644
--- a/src/rabbit_misc.erl
+++ b/src/rabbit_misc.erl
@@ -92,9 +92,9 @@
:: rabbit_types:channel_exit() | rabbit_types:connection_exit()).
-type(digraph_label() :: term()).
-type(graph_vertex_fun() ::
- fun ((atom(), [term()]) -> [{digraph:vertex(), digraph_label()}])).
+ fun (({atom(), [term()]}) -> [{digraph:vertex(), digraph_label()}])).
-type(graph_edge_fun() ::
- fun ((atom(), [term()]) -> [{digraph:vertex(), digraph:vertex()}])).
+ fun (({atom(), [term()]}) -> [{digraph:vertex(), digraph:vertex()}])).
-type(tref() :: {'erlang', reference()} | {timer, timer:tref()}).
-spec(method_record_type/1 :: (rabbit_framing:amqp_method_record())