Skip to content

Commit

Permalink
go/constant: fix doc strings
Browse files Browse the repository at this point in the history
Fixes golang#14357.

Change-Id: I91acff0b0cc7be2bcbad68925a19a437dbd4c83d
Reviewed-on: https://go-review.googlesource.com/19620
Reviewed-by: Alan Donovan <[email protected]>
  • Loading branch information
griesemer committed Feb 18, 2016
1 parent 6b9a0fa commit c51f917
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/go/constant/value.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c51f917

Please sign in to comment.