summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2013-06-01 22:39:33 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2013-06-01 22:39:33 +0100
commit1a0ab0947a66ea448ae27b964d796c718783f770 (patch)
treeab2b1aaeadaa9aef3e616e2b146993083384a291
parent2a8d8e75a5049aa3e88e4142165e31d081dca378 (diff)
downloadrabbitmq-server-1a0ab0947a66ea448ae27b964d796c718783f770.tar.gz
fix types
(transplanted from eec14a745dd738a98cfb83e86a2b077d4280e314)
-rw-r--r--src/priority_queue.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/priority_queue.erl b/src/priority_queue.erl
index 0dc19819..18e1e8d9 100644
--- a/src/priority_queue.erl
+++ b/src/priority_queue.erl
@@ -51,7 +51,7 @@
-type(q() :: pqueue()).
-type(priority() :: integer() | 'infinity').
--type(squeue() :: {queue, [any()], [any()]}).
+-type(squeue() :: {queue, [any()], [any()], non_neg_integer()}).
-type(pqueue() :: squeue() | {pqueue, [{priority(), squeue()}]}).
-spec(new/0 :: () -> pqueue()).