Fixed typo in Julia document

Element was popped from wrong array.
This commit is contained in:
Martin Büttner 2013-08-24 12:23:41 +01:00
parent 598fe61e1a
commit f88b0ba326

View File

@ -147,7 +147,7 @@ push!(a,3) #=> [1,2,4,3]
append!(a,b) #=> [1,2,4,3,4,5,6] append!(a,b) #=> [1,2,4,3,4,5,6]
# Remove from the end with pop # Remove from the end with pop
pop!(a) #=> 6 and b is now [4,5] pop!(b) #=> 6 and b is now [4,5]
# Let's put it back # Let's put it back
push!(b,6) # b is now [4,5,6] again. push!(b,6) # b is now [4,5,6] again.