database/sql/driver: fix Rows.Next() comment

CL 89936 introduced restriction that Rows.Close() shouldn't modify
dest in previous Next().
CL 497675 for #60304 removed that restriction. But it didn't remove
doc about the restriction.
This commit is contained in:
Inada Naoki 2025-05-08 18:56:32 +09:00
parent d000963d04
commit f37493acd7
1 changed files with 0 additions and 4 deletions

View File

@ -436,10 +436,6 @@ type Rows interface {
// size as the Columns() are wide.
//
// Next should return io.EOF when there are no more rows.
//
// The dest should not be written to outside of Next. Care
// should be taken when closing Rows not to modify
// a buffer held in dest.
Next(dest []Value) error
}