summaryrefslogtreecommitdiff
path: root/src/pkg/bignum/integer.go
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 /src/pkg/bignum/integer.go
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 'src/pkg/bignum/integer.go')
-rw-r--r--src/pkg/bignum/integer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/bignum/integer.go b/src/pkg/bignum/integer.go
index 618c6d3d2..10cc3344f 100644
--- a/src/pkg/bignum/integer.go
+++ b/src/pkg/bignum/integer.go
@@ -516,5 +516,5 @@ func IntFromString(s string, base uint) (*Integer, uint, int) {
mant, base, slen := NatFromString(s[i0:len(s)], base);
- return MakeInt(i0 > 0 && s[0] == '-', mant), base, i0+slen;
+ return MakeInt(i0 > 0 && s[0] == '-', mant), base, i0 + slen;
}