]> Cypherpunks repositories - gostls13.git/commitdiff
- one-line funcs in misc
authorRobert Griesemer <gri@golang.org>
Fri, 6 Nov 2009 22:27:41 +0000 (14:27 -0800)
committerRobert Griesemer <gri@golang.org>
Fri, 6 Nov 2009 22:27:41 +0000 (14:27 -0800)
gofmt -w misc

R=rsc
http://go/go-review/1025007

misc/cgo/gmp/gmp.go

index d26bb4a73e9b17d55fcea4e9ac22c2c23b6b9fa3..a876f9cbc8d5beed3c99a231566d7ffd10a33b02 100644 (file)
@@ -120,9 +120,7 @@ type Int struct {
 }
 
 // NewInt returns a new Int initialized to x.
-func NewInt(x int64) *Int {
-       return new(Int).SetInt64(x);
-}
+func NewInt(x int64) *Int      { return new(Int).SetInt64(x) }
 
 // Int promises that the zero value is a 0, but in gmp
 // the zero value is a crash.  To bridge the gap, the