Skip to content

Commit

Permalink
NFC: Remove outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mbauman authored Jun 8, 2020
1 parent 14b8b05 commit 17cff03
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions base/indices.jl
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,7 @@ struct IdentityUnitRange{T<:AbstractUnitRange} <: AbstractUnitRange{Int}
indices::T
end
IdentityUnitRange(S::IdentityUnitRange) = S
# IdentityUnitRanges are offset and thus have offset axes, so they are their own axes... but
# we need to strip the wholedim marker because we don't know how they'll be used
# IdentityUnitRanges are offset and thus have offset axes, so they are their own axes
axes(S::IdentityUnitRange) = (S,)
unsafe_indices(S::IdentityUnitRange) = (S,)
axes1(S::IdentityUnitRange) = S
Expand Down

0 comments on commit 17cff03

Please sign in to comment.