From 7bf5d0774749111cd13e40700b31a5a83c288db9 Mon Sep 17 00:00:00 2001 From: Bob Glickstein Date: Wed, 5 Nov 2025 21:08:54 -0800 Subject: [PATCH] Tiny doc comment fix. --- src/iter/iter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iter/iter.go b/src/iter/iter.go index 3d0caebf1ed5c5..f119eae9951995 100644 --- a/src/iter/iter.go +++ b/src/iter/iter.go @@ -188,7 +188,7 @@ For example, a tree implementation might provide: // It is only valid during the yield call it is passed to. type Pos[V any] struct { ... } - // Pos returns the value at the cursor. + // Value returns the value at the cursor. func (p *Pos[V]) Value() V // Delete deletes the value at this point in the iteration.