Skip to content

Commit ab86eb9

Browse files
committed
Merge branch 'master' of github.com:princemaple/elixir-queue
2 parents db1885b + ca779fb commit ab86eb9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/qex.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ defmodule Qex do
2323
"#Qex<[1, 2, 3, 4, 5]>"
2424
"""
2525

26-
@opaque t :: %__MODULE__{}
26+
@opaque t(type) :: %__MODULE__{:data => :queue.queue(type)}
27+
@opaque t() :: %__MODULE__{:data => :queue.queue()}
2728

2829
defstruct data: :queue.new
2930

0 commit comments

Comments
 (0)