diff options
| author | Mikhail Mazurskiy <mmazurskiy@gitlab.com> | 2025-06-27 10:52:57 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-06-30 07:40:04 -0700 |
| commit | 9d1cd0b8816654ac36f2122b52dd8335aae86b26 (patch) | |
| tree | 334095570df6c9ff57ef8d0d27aefab5e98f1090 | |
| parent | acb914f2c2a3ec3dd227812ba6b119480d6400cd (diff) | |
| download | go-9d1cd0b8816654ac36f2122b52dd8335aae86b26.tar.xz | |
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 <jorropo.pgm@gmail.com>
Auto-Submit: Jorropo <jorropo.pgm@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Sean Liao <sean@liao.dev>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Sean Liao <sean@liao.dev>
| -rw-r--r-- | src/iter/iter.go | 2 |
1 files changed, 1 insertions, 1 deletions
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. |
