summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2010-11-13 21:38:57 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2010-11-13 21:38:57 +0000
commit5f6de6827bbe336edc77a4d5c64532045d1ed70d (patch)
tree3fda4c5636a178da3c6ee1d5630d722fd26630c4
parent3bc57a9ec18b08ce27122140bcc319556993c289 (diff)
downloadrabbitmq-server-5f6de6827bbe336edc77a4d5c64532045d1ed70d.tar.gz
attempt to correct specs
-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 fe12167a..5c85b99a 100644
--- a/src/rabbit_misc.erl
+++ b/src/rabbit_misc.erl
@@ -86,9 +86,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()}])).
-spec(method_record_type/1 :: (rabbit_framing:amqp_method_record())
-> rabbit_framing:amqp_method_name()).