From c1bbc4ae2bcf9ae0da512b8ae14f851f6f95d461 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Fri, 6 Nov 2009 14:27:41 -0800 Subject: [PATCH] - one-line funcs in misc gofmt -w misc R=rsc http://go/go-review/1025007 --- misc/cgo/gmp/gmp.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 -- 2.50.0