Skip to content

Commit

Permalink
fix line numbers in a doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
tkelman committed Sep 8, 2016
1 parent a384e7f commit 67e398b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion base/array.jl
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ julia> deleteat!([6, 5, 4, 3, 2, 1], 1:2:5)
julia> deleteat!([6, 5, 4, 3, 2, 1], (2, 2))
ERROR: ArgumentError: indices must be unique and sorted
in deleteat!(::Array{Int64,1}, ::Tuple{Int64,Int64}) at ./array.jl:611
in deleteat!(::Array{Int64,1}, ::Tuple{Int64,Int64}) at ./array.jl:614
...
```
"""
Expand Down
2 changes: 1 addition & 1 deletion doc/stdlib/collections.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,7 @@ Dequeues

julia> deleteat!([6, 5, 4, 3, 2, 1], (2, 2))
ERROR: ArgumentError: indices must be unique and sorted
in deleteat!(::Array{Int64,1}, ::Tuple{Int64,Int64}) at ./array.jl:611
in deleteat!(::Array{Int64,1}, ::Tuple{Int64,Int64}) at ./array.jl:614
...

.. function:: splice!(collection, index, [replacement]) -> item
Expand Down

0 comments on commit 67e398b

Please sign in to comment.