Skip to content

Commit 3814ac6

Browse files
authored
Merge pull request #617 from mantasnaris/patch-1
corrected description for CircularDeque push! function
2 parents 1dc7b70 + 3550525 commit 3814ac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/circ_deque.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ isempty(a) # test whether the deque is empty
1212
empty!(a) # reset the deque
1313
capacity(a) # return capacity
1414
length(a) # get the number of elements currently in the deque
15-
push!(a, 10) # add an element to the front
15+
push!(a, 10) # add an element to the back
1616
pop!(a) # remove an element from the back
1717
pushfirst!(a, 20) # add an element to the front
1818
popfirst!(a) # remove an element from the front

0 commit comments

Comments
 (0)