mirror of
https://github.com/golang/go
synced 2024-11-26 03:17:57 -07:00
minor adjustments to comments for better godoc output
R=r DELTA=6 (0 added, 0 deleted, 6 changed) OCL=27686 CL=27688
This commit is contained in:
parent
3ae849d47d
commit
011bf2b6d3
@ -702,7 +702,7 @@ func (x Natural) ToString(base uint) string {
|
||||
|
||||
|
||||
// String converts x to its decimal string representation.
|
||||
// (x.String is the same as x.ToString(10)).
|
||||
// x.String() is the same as x.ToString(10).
|
||||
//
|
||||
func (x Natural) String() string {
|
||||
return x.ToString(10);
|
||||
@ -1251,7 +1251,7 @@ func (x *Integer) ToString(base uint) string {
|
||||
|
||||
|
||||
// String converts x to its decimal string representation.
|
||||
// (x.String is the same as x.ToString(10)).
|
||||
// x.String() is the same as x.ToString(10).
|
||||
//
|
||||
func (x *Integer) String() string {
|
||||
return x.ToString(10);
|
||||
@ -1431,7 +1431,7 @@ func (x *Rational) ToString(base uint) string {
|
||||
|
||||
|
||||
// String converts x to its decimal string representation.
|
||||
// (x.String is the same as x.ToString(10)).
|
||||
// x.String() is the same as x.ToString(10).
|
||||
//
|
||||
func (x *Rational) String() string {
|
||||
return x.ToString(10);
|
||||
|
Loading…
Reference in New Issue
Block a user