]> Cypherpunks repositories - gostls13.git/commitdiff
comment typos
authorAndrew Gerrand <adg@golang.org>
Mon, 29 Mar 2010 05:31:41 +0000 (16:31 +1100)
committerAndrew Gerrand <adg@golang.org>
Mon, 29 Mar 2010 05:31:41 +0000 (16:31 +1100)
Fixes #698.
Fixes #699.

R=rsc
CC=golang-dev
https://golang.org/cl/824041

src/pkg/big/int.go

index b48954ef8b7a653253d4c25070fca7b356936267..8f776b5f3b8357f2d92fdacab2f95567d93cb914 100644 (file)
@@ -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