From 9d1cd0b8816654ac36f2122b52dd8335aae86b26 Mon Sep 17 00:00:00 2001 From: Mikhail Mazurskiy Date: Fri, 27 Jun 2025 10:52:57 +0000 Subject: [PATCH] iter: add missing type parameter in doc Change-Id: I3816b41227a0c8f8ece77b1e29002df433ccebdb GitHub-Last-Rev: e9e63b4c1b93cde499b15db49c53ff1536fc765c GitHub-Pull-Request: golang/go#74406 Reviewed-on: https://go-review.googlesource.com/c/go/+/684555 Reviewed-by: Jorropo Auto-Submit: Jorropo Reviewed-by: Dmitri Shuralyov Auto-Submit: Sean Liao LUCI-TryBot-Result: Go LUCI Reviewed-by: Keith Randall Reviewed-by: Sean Liao --- 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 4d408e5e77..3eaeb9e1fd 100644 --- a/src/iter/iter.go +++ b/src/iter/iter.go @@ -180,7 +180,7 @@ with the extra operations and then provide an iterator over positions. For example, a tree implementation might provide: // Positions returns an iterator over positions in the sequence. - func (t *Tree[V]) Positions() iter.Seq[*Pos] + func (t *Tree[V]) Positions() iter.Seq[*Pos[V]] // A Pos represents a position in the sequence. // It is only valid during the yield call it is passed to. -- 2.50.0