diff options
author | Andrew Gerrand <adg@golang.org> | 2010-03-29 16:31:41 +1100 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2010-03-29 16:31:41 +1100 |
commit | eb754093fd89e5048531d4bc1d65df74eafd429b (patch) | |
tree | 77daeb5f89d2f6c71efddd090a3628fa086760e3 /src/pkg/big | |
parent | 9a2ede49d1c49961dde9d3c589938426162d7f33 (diff) | |
download | golang-eb754093fd89e5048531d4bc1d65df74eafd429b.tar.gz |
comment typos
Fixes issue 698.
Fixes issue 699.
R=rsc
CC=golang-dev
http://codereview.appspot.com/824041
Diffstat (limited to 'src/pkg/big')
-rw-r--r-- | src/pkg/big/int.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pkg/big/int.go b/src/pkg/big/int.go index b48954ef8..8f776b5f3 100644 --- a/src/pkg/big/int.go +++ b/src/pkg/big/int.go @@ -205,7 +205,7 @@ Error: // SetBytes interprets b as the bytes of a big-endian, unsigned integer and -// sets x to that value. +// sets z to that value. func (z *Int) SetBytes(b []byte) *Int { s := int(_S) z.abs = makeN(z.abs, (len(b)+s-1)/s, false) @@ -264,8 +264,8 @@ func (z *Int) Bytes() []byte { } -// Len returns the length of the absolute value of x in bits. Zero is -// considered to have a length of one. +// Len returns the length of the absolute value of z in bits. Zero is +// considered to have a length of zero. func (z *Int) Len() int { if len(z.abs) == 0 { return 0 |