We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8111104 commit 7bf5d07Copy full SHA for 7bf5d07
src/iter/iter.go
@@ -188,7 +188,7 @@ For example, a tree implementation might provide:
188
// It is only valid during the yield call it is passed to.
189
type Pos[V any] struct { ... }
190
191
- // Pos returns the value at the cursor.
+ // Value returns the value at the cursor.
192
func (p *Pos[V]) Value() V
193
194
// Delete deletes the value at this point in the iteration.
0 commit comments