Skip to content

Commit 6e242d3

Browse files
authored
Merge pull request #4 from davidanthoff/add-eltype
Add missing eltype method
2 parents 614cdac + 3bec943 commit 6e242d3

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)