From: Robert Griesemer Date: Fri, 6 Nov 2009 22:27:41 +0000 (-0800) Subject: - one-line funcs in misc X-Git-Tag: weekly.2009-11-10~90 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c1bbc4ae2bcf9ae0da512b8ae14f851f6f95d461;p=gostls13.git - one-line funcs in misc gofmt -w misc R=rsc http://go/go-review/1025007 --- diff --git a/misc/cgo/gmp/gmp.go b/misc/cgo/gmp/gmp.go index d26bb4a73e..a876f9cbc8 100644 --- a/misc/cgo/gmp/gmp.go +++ b/misc/cgo/gmp/gmp.go @@ -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