Skip to content

Commit 17cff03

Browse files
authored
NFC: Remove outdated comment
1 parent 14b8b05 commit 17cff03

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

base/indices.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,7 @@ struct IdentityUnitRange{T<:AbstractUnitRange} <: AbstractUnitRange{Int}
373373
indices::T
374374
end
375375
IdentityUnitRange(S::IdentityUnitRange) = S
376-
# IdentityUnitRanges are offset and thus have offset axes, so they are their own axes... but
377-
# we need to strip the wholedim marker because we don't know how they'll be used
376+
# IdentityUnitRanges are offset and thus have offset axes, so they are their own axes
378377
axes(S::IdentityUnitRange) = (S,)
379378
unsafe_indices(S::IdentityUnitRange) = (S,)
380379
axes1(S::IdentityUnitRange) = S

0 commit comments

Comments
 (0)