Skip to content

Commit de623c2

Browse files
committed
Add type annotation
1 parent d958afe commit de623c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tablerows.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Base.getindex(row::TableRow, nm::AbstractString) = Tables.getcolumn(row, Symbol(
4040

4141
# iterator interface
4242
Base.length(row::TableRow) = length(Tables.columnnames(row))
43-
Base.iterate(row::TableRow, state=1) = state > length(row) ? nothing : (Tables.getcolumn(row, state), state + 1)
43+
Base.iterate(row::TableRow, state::Int=1) = state > length(row) ? nothing : (Tables.getcolumn(row, state), state + 1)
4444

4545
#--------------
4646
# COLUMN TABLE

0 commit comments

Comments
 (0)