Skip to content

Commit ae93008

Browse files
committed
delete redundant IteratorSize method for Slices
Already covered as an `AbstractArray` subtype.
1 parent 0cf5a4d commit ae93008

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

base/slicearray.jl

-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,6 @@ constructed by [`eachcol`](@ref).
225225
const ColumnSlices{P<:AbstractMatrix,AX,S<:AbstractVector} = Slices{P,Tuple{Colon,Int},AX,S,1}
226226

227227

228-
IteratorSize(::Type{Slices{P,SM,AX,S,N}}) where {P,SM,AX,S,N} = HasShape{N}()
229228
axes(s::Slices) = s.axes
230229
size(s::Slices) = map(length, s.axes)
231230

0 commit comments

Comments
 (0)