From 1a0ab0947a66ea448ae27b964d796c718783f770 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Sat, 1 Jun 2013 22:39:33 +0100 Subject: fix types (transplanted from eec14a745dd738a98cfb83e86a2b077d4280e314) --- src/priority_queue.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()). -- cgit v1.2.1