Skip to content

Commit 3bec943

Browse files
committed
Add missing eltype method
1 parent 614cdac commit 3bec943

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/TableTraitsUtils.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ function Base.eltype(iter::TableIterator{T,TS}) where {T,TS}
4444
return T
4545
end
4646

47+
Base.eltype(::Type{TableIterator{T,TS}}) where {T,TS} = T
48+
4749
function Base.start(iter::TableIterator{T,TS}) where {T,TS}
4850
return 1
4951
end

0 commit comments

Comments
 (0)