We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca7b8a4 commit 8b53562Copy full SHA for 8b53562
lib/qex.ex
@@ -149,10 +149,10 @@ defmodule Qex do
149
Split a queue into two, the front n items are put in the first queue
150
151
iex> q = Qex.new 1..5
152
- iex> {qex1, qex2} = Qex.split(q, 3)
153
- iex> Enum.to_list qex1
+ iex> {q1, q2} = Qex.split(q, 3)
+ iex> Enum.to_list q1
154
[1, 2, 3]
155
- iex> Enum.to_list qex2
+ iex> Enum.to_list q2
156
[4, 5]
157
"""
158
@spec split(t, pos_integer) :: {t, t}
0 commit comments