diff options
author | Martin Büttner <mbuettner@users.noreply.github.com> | 2013-08-24 12:23:41 +0100 |
---|---|---|
committer | Martin Büttner <mbuettner@users.noreply.github.com> | 2013-08-24 12:23:41 +0100 |
commit | f88b0ba326f40a9e14b24438ecc1963d0138973f (patch) | |
tree | 747eafb3fb23a25fe4876901ca418966940f3346 | |
parent | 598fe61e1a9968eb633d97ef214b01c7d3f0d942 (diff) |
Fixed typo in Julia document
Element was popped from wrong array.
-rw-r--r-- | julia.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/julia.html.markdown b/julia.html.markdown index 1023e303..cf3a464b 100644 --- a/julia.html.markdown +++ b/julia.html.markdown @@ -147,7 +147,7 @@ push!(a,3) #=> [1,2,4,3] append!(a,b) #=> [1,2,4,3,4,5,6] # 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 push!(b,6) # b is now [4,5,6] again. |