From a7b96afc714e0c4cb71c073871f72ea1d56a50c7 Mon Sep 17 00:00:00 2001 From: Kamil Kisiel Date: Tue, 24 Sep 2013 16:32:23 -0700 Subject: 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 --- src/pkg/math/big/int.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pkg/math/big') 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() -- cgit v1.2.1