Skip to content

Commit fe155d8

Browse files
dlfivefiftyKristofferC
authored andcommitted
UnitRange{Int} -> unitrange (#39668)
(cherry picked from commit a28f723)
1 parent 194e774 commit fe155d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base/arrayshow.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,8 @@ function _show_nonempty(io::IO, X::AbstractMatrix, prefix::String)
385385
indr, indc = axes(X,1), axes(X,2)
386386
nr, nc = length(indr), length(indc)
387387
rdots, cdots = false, false
388-
rr1, rr2 = UnitRange{Int}(indr), 1:0
389-
cr1 = UnitRange{Int}(indc)
388+
rr1, rr2 = unitrange(indr), 1:0
389+
cr1 = unitrange(indc)
390390
cr2 = first(cr1) .+ (0:-1)
391391
if limit
392392
if nr > 4

0 commit comments

Comments
 (0)