Skip to content

Commit 3550525

Browse files
authored
corrected description for push! function
noticed that the description for push! and pushfirst! were duplicated
1 parent 1dc7b70 commit 3550525

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)