Skip to content

Commit 847ad8e

Browse files
earthboundkidgopherbot
authored andcommitted
RangefuncExperiment: Fix Seq2 typo
Change-Id: Ie4fc4028bf2c1f37ebf9b6228bdcbef15cb0d530 GitHub-Last-Rev: c077d54 GitHub-Pull-Request: #6 Reviewed-on: https://go-review.googlesource.com/c/wiki/+/556115 Reviewed-by: Cherry Mui <cherryyz@google.com> Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com> Reviewed-by: qiulaidongfeng <2645477756@qq.com>
1 parent 9f7ce56 commit 847ad8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: RangefuncExperiment.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ and helper functions
3030
With `GOEXPERIMENT=rangefunc` enabled, loops of the form
3131

3232
for v := range f { ... } // f has type Seq[V], v has type V
33-
for k, v := range g { ... } // g has type Seq[K,V], k and v have types K and V
33+
for k, v := range g { ... } // g has type Seq2[K,V], k and v have types K and V
3434

3535
will iterate over the values provided by `f` and `g`, with the usual semantics for break,
3636
continue, return, and other control flow in the loop bodies. If `next(v)` or `next(k,v)`

0 commit comments

Comments
 (0)