diff options
author | Russ Cox <rsc@golang.org> | 2009-09-15 12:42:24 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-09-15 12:42:24 -0700 |
commit | 7f51e880cd29a4c63860dad59cc60916119cc2df (patch) | |
tree | 8e115ff2eb9c4f2040c2c1b69dc50de1d874981d /test/escape.go | |
parent | c6fac6bdd2b1fd69442a455fb47d09022241dd69 (diff) | |
download | go-7f51e880cd29a4c63860dad59cc60916119cc2df.tar.gz |
last round: non-package code
R=r
DELTA=127 (38 added, 3 deleted, 86 changed)
OCL=34640
CL=34650
Diffstat (limited to 'test/escape.go')
-rw-r--r-- | test/escape.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/escape.go b/test/escape.go index d2534c60d..2c5881d49 100644 --- a/test/escape.go +++ b/test/escape.go @@ -112,7 +112,7 @@ func select_escapes1(x int, y int) (*int, *int) { func range_escapes(x int) *int { var a [1]int; a[0] = x; - for k, v := range a { + for _, v := range a { return &v; } return nil; |