Skip to content

Commit 7faaf4c

Browse files
committed
Remove type annotation
1 parent de623c2 commit 7faaf4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tablerows.jl

+2-2
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::Int=1) = state > length(row) ? nothing : (Tables.getcolumn(row, state), state + 1)
43+
Base.iterate(row::TableRow, state=1) = state > length(row) ? nothing : (Tables.getcolumn(row, state), state + 1)
4444

4545
#--------------
4646
# COLUMN TABLE
@@ -59,7 +59,7 @@ end
5959

6060
# iterator interface
6161
Base.length(rows::CTableRows) = rows.nrows
62-
Base.iterate(rows::CTableRows, state::Int=1) = state > length(rows) ? nothing : (CTableRow(rows.cols, state), state + 1)
62+
Base.iterate(rows::CTableRows, state=1) = state > length(rows) ? nothing : (CTableRow(rows.cols, state), state + 1)
6363

6464
struct CTableRow{T} <: TableRow
6565
cols::T

0 commit comments

Comments
 (0)