]> Cypherpunks repositories - gostls13.git/commitdiff
go/constant: fix doc strings
authorRobert Griesemer <gri@golang.org>
Thu, 18 Feb 2016 17:42:28 +0000 (09:42 -0800)
committerRobert Griesemer <gri@golang.org>
Thu, 18 Feb 2016 17:44:29 +0000 (17:44 +0000)
Fixes #14357.

Change-Id: I91acff0b0cc7be2bcbad68925a19a437dbd4c83d
Reviewed-on: https://go-review.googlesource.com/19620
Reviewed-by: Alan Donovan <adonovan@google.com>
src/go/constant/value.go

index 310814df71c24fb07e3d92da08ad637925cf4529..1b0938dda46a0a7fc42aac351fb94ec50c9030fe 100644 (file)
@@ -276,10 +276,10 @@ func smallRat(x *big.Float) bool {
 // MakeUnknown returns the Unknown value.
 func MakeUnknown() Value { return unknownVal{} }
 
-// MakeBool returns the Bool value for x.
+// MakeBool returns the Bool value for b.
 func MakeBool(b bool) Value { return boolVal(b) }
 
-// MakeString returns the String value for x.
+// MakeString returns the String value for s.
 func MakeString(s string) Value { return stringVal(s) }
 
 // MakeInt64 returns the Int value for x.