Skip to content

Commit 7bf5d07

Browse files
committed
Tiny doc comment fix.
1 parent 8111104 commit 7bf5d07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/iter/iter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ For example, a tree implementation might provide:
188188
// It is only valid during the yield call it is passed to.
189189
type Pos[V any] struct { ... }
190190
191-
// Pos returns the value at the cursor.
191+
// Value returns the value at the cursor.
192192
func (p *Pos[V]) Value() V
193193
194194
// Delete deletes the value at this point in the iteration.

0 commit comments

Comments
 (0)