Skip to content

Commit

Permalink
fix doctests from JuliaLang#27038 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed May 29, 2018
1 parent 3fb25af commit d267e1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion base/indices.jl
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ from cartesian to linear indexing:
```jldoctest
julia> linear = LinearIndices((1:3, 1:2))
LinearIndices{2,Tuple{UnitRange{Int64},UnitRange{Int64}}} with indices 1:3×1:2:
3×2 LinearIndices{2,Tuple{UnitRange{Int64},UnitRange{Int64}}}:
1 4
2 5
3 6
Expand Down
2 changes: 1 addition & 1 deletion base/multidimensional.jl
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ module IteratorsMD
```jldoctest
julia> cartesian = CartesianIndices((1:3, 1:2))
CartesianIndices{2,Tuple{UnitRange{Int64},UnitRange{Int64}}} with indices 1:3×1:2:
3×2 CartesianIndices{2,Tuple{UnitRange{Int64},UnitRange{Int64}}}:
CartesianIndex(1, 1) CartesianIndex(1, 2)
CartesianIndex(2, 1) CartesianIndex(2, 2)
CartesianIndex(3, 1) CartesianIndex(3, 2)
Expand Down

0 comments on commit d267e1c

Please sign in to comment.