Skip to content

Commit

Permalink
base/array.jl: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jiahao committed Oct 9, 2014
1 parent 2442478 commit 4dc1679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/array.jl
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ end

getindex(T::(Type...)) = Array(T,0)

# T[a:b] and T[a:s:b] also contruct typed ranges
# T[a:b] and T[a:s:b] also construct typed ranges
function getindex{T<:Number}(::Type{T}, r::Range)
copy!(Array(T,length(r)), r)
end
Expand Down

0 comments on commit 4dc1679

Please sign in to comment.