From: Kamil Kisiel Date: Tue, 24 Sep 2013 23:32:23 +0000 (-0700) Subject: math/big: Fix variable name in documentation for *Int.Bytes and BitLen. X-Git-Tag: go1.2rc2~122 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b0ef6aeff961053b4351cc103e3d4e4f72542e10;p=gostls13.git math/big: Fix variable name in documentation for *Int.Bytes and BitLen. R=golang-dev, iant, gri CC=golang-dev https://golang.org/cl/13869043 --- diff --git a/src/pkg/math/big/int.go b/src/pkg/math/big/int.go index 23c8bfeb23..7bbb152d79 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()