Skip to content

Commit 26baab4

Browse files
authored
Merge pull request #608 from harryscholes/deque_docstrings
Fix `first` and `last` function names in `Deque` docstrings
2 parents 01021c9 + 997ad76 commit 26baab4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/deque.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ num_blocks(q::Deque) = q.nblocks
9494
Base.eltype(::Type{Deque{T}}) where T = T
9595

9696
"""
97-
front(q::Deque)
97+
first(q::Deque)
9898
9999
Returns the first element of the deque `q`.
100100
"""
@@ -105,7 +105,7 @@ function first(q::Deque)
105105
end
106106

107107
"""
108-
back(q::Deque)
108+
last(q::Deque)
109109
110110
Returns the last element of the deque `q`.
111111
"""

0 commit comments

Comments
 (0)