summaryrefslogtreecommitdiff
path: root/test/compos.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2010-09-04 10:36:13 +1000
committerRob Pike <r@golang.org>2010-09-04 10:36:13 +1000
commit7c2e17b3e6e4c36a3713e272653dcfc9c2056cfd (patch)
treeb5e309f8922e2f29902d7e085ad3943bb480b856 /test/compos.go
parent83798de970b62e4a4e7b72b9ef53a5d66f71dc3c (diff)
downloadgo-7c2e17b3e6e4c36a3713e272653dcfc9c2056cfd.tar.gz
test: remove semiocolons.
The ken directory is untouched so we have some examples with explicit semis. R=gri CC=golang-dev http://codereview.appspot.com/2157041
Diffstat (limited to 'test/compos.go')
-rw-r--r--test/compos.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/compos.go b/test/compos.go
index 78a7965ef..70f90f379 100644
--- a/test/compos.go
+++ b/test/compos.go
@@ -7,7 +7,7 @@
package main
type T struct {
- int;
+ int
}
func f() *T {
@@ -15,9 +15,9 @@ func f() *T {
}
func main() {
- x := f();
- y := f();
+ x := f()
+ y := f()
if x == y {
- panic("not allocating & composite literals");
+ panic("not allocating & composite literals")
}
}