summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2009-11-09 21:09:34 -0800
committerRobert Griesemer <gri@golang.org>2009-11-09 21:09:34 -0800
commitef50a171462c00444b6bf8d205ae8e97079ab2b9 (patch)
tree19dba38f765c27e237474bcf2f29ea11733f2e0f /misc
parent14932a6e27718eb08f82f5ac4d39f6f70f6903dd (diff)
downloadgolang-ef50a171462c00444b6bf8d205ae8e97079ab2b9.tar.gz
- replaced gofmt expression formatting algorithm with
rsc's algorithm - applied gofmt -w misc src - partial CL (remaining files in other CLs) R=rsc, r http://go/go-review/1024040
Diffstat (limited to 'misc')
-rw-r--r--misc/cgo/gmp/gmp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/cgo/gmp/gmp.go b/misc/cgo/gmp/gmp.go
index 5a21c5384..e199543c7 100644
--- a/misc/cgo/gmp/gmp.go
+++ b/misc/cgo/gmp/gmp.go
@@ -138,7 +138,7 @@ func (z *Int) doinit() {
// Bytes returns z's representation as a big-endian byte array.
func (z *Int) Bytes() []byte {
- b := make([]byte, (z.Len() + 7)/8);
+ b := make([]byte, (z.Len()+7)/8);
n := C.size_t(len(b));
C.mpz_export(unsafe.Pointer(&b[0]), &n, 1, 1, 1, 0, &z.i[0]);
return b[0:n];