diff options
author | Kamil Kisiel <kamil@kamilkisiel.net> | 2013-09-24 16:32:23 -0700 |
---|---|---|
committer | Kamil Kisiel <kamil@kamilkisiel.net> | 2013-09-24 16:32:23 -0700 |
commit | a7b96afc714e0c4cb71c073871f72ea1d56a50c7 (patch) | |
tree | 99e02f9845c9758dccec5166b3277eece5af2da0 /src/pkg/math/big/int.go | |
parent | 1751077861ee0de15e1986ba4880f5a7cb7816e7 (diff) | |
download | go-a7b96afc714e0c4cb71c073871f72ea1d56a50c7.tar.gz |
math/big: Fix variable name in documentation for *Int.Bytes and BitLen.
R=golang-dev, iant, gri
CC=golang-dev
https://codereview.appspot.com/13869043
Committer: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/pkg/math/big/int.go')
-rw-r--r-- | src/pkg/math/big/int.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/math/big/int.go b/src/pkg/math/big/int.go index 23c8bfeb2..7bbb152d7 100644 --- a/src/pkg/math/big/int.go +++ b/src/pkg/math/big/int.go @@ -563,13 +563,13 @@ func (z *Int) SetBytes(buf []byte) *Int { return z } -// Bytes returns the absolute value of z as a big-endian byte slice. +// Bytes returns the absolute value of x as a big-endian byte slice. func (x *Int) Bytes() []byte { buf := make([]byte, len(x.abs)*_S) return buf[x.abs.bytes(buf):] } -// BitLen returns the length of the absolute value of z in bits. +// BitLen returns the length of the absolute value of x in bits. // The bit length of 0 is 0. func (x *Int) BitLen() int { return x.abs.bitLen() |