]> Cypherpunks repositories - gostls13.git/commitdiff
gob: fix up ugly formatting introduced by buggy (now fixed) gofmt.
authorRob Pike <r@golang.org>
Tue, 22 Mar 2011 18:52:41 +0000 (11:52 -0700)
committerRob Pike <r@golang.org>
Tue, 22 Mar 2011 18:52:41 +0000 (11:52 -0700)
R=rsc
CC=golang-dev
https://golang.org/cl/4281065

src/pkg/gob/type.go

index 9c62107b84a4db872064cf3e72e7f33c78063423..fc620f5c7c1011967e997576a97e73cf36517587 100644 (file)
@@ -233,34 +233,13 @@ var (
        tComplex   = bootstrapType("complex", (*complex128)(nil), 7)
        tInterface = bootstrapType("interface", (*interface{})(nil), 8)
        // Reserve some Ids for compatible expansion
-       tReserved7 = bootstrapType("_reserved1", (*struct {
-               r7 int
-       })(nil),
-               9)
-       tReserved6 = bootstrapType("_reserved1", (*struct {
-               r6 int
-       })(nil),
-               10)
-       tReserved5 = bootstrapType("_reserved1", (*struct {
-               r5 int
-       })(nil),
-               11)
-       tReserved4 = bootstrapType("_reserved1", (*struct {
-               r4 int
-       })(nil),
-               12)
-       tReserved3 = bootstrapType("_reserved1", (*struct {
-               r3 int
-       })(nil),
-               13)
-       tReserved2 = bootstrapType("_reserved1", (*struct {
-               r2 int
-       })(nil),
-               14)
-       tReserved1 = bootstrapType("_reserved1", (*struct {
-               r1 int
-       })(nil),
-               15)
+       tReserved7 = bootstrapType("_reserved1", (*struct{ r7 int })(nil), 9)
+       tReserved6 = bootstrapType("_reserved1", (*struct{ r6 int })(nil), 10)
+       tReserved5 = bootstrapType("_reserved1", (*struct{ r5 int })(nil), 11)
+       tReserved4 = bootstrapType("_reserved1", (*struct{ r4 int })(nil), 12)
+       tReserved3 = bootstrapType("_reserved1", (*struct{ r3 int })(nil), 13)
+       tReserved2 = bootstrapType("_reserved1", (*struct{ r2 int })(nil), 14)
+       tReserved1 = bootstrapType("_reserved1", (*struct{ r1 int })(nil), 15)
 )
 
 // Predefined because it's needed by the Decoder