diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2013-06-01 22:39:33 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2013-06-01 22:39:33 +0100 |
commit | 1a0ab0947a66ea448ae27b964d796c718783f770 (patch) | |
tree | ab2b1aaeadaa9aef3e616e2b146993083384a291 | |
parent | 2a8d8e75a5049aa3e88e4142165e31d081dca378 (diff) | |
download | rabbitmq-server-1a0ab0947a66ea448ae27b964d796c718783f770.tar.gz |
fix types
(transplanted from eec14a745dd738a98cfb83e86a2b077d4280e314)
-rw-r--r-- | src/priority_queue.erl | 2 |
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()). |