mirror of
https://github.com/golang/go
synced 2024-11-24 21:10:04 -07:00
fmt: fix a couple of documentation glitches.
R=golang-dev, adg CC=golang-dev https://golang.org/cl/4758050
This commit is contained in:
parent
50d90451ff
commit
08e47ebb7d
@ -53,7 +53,7 @@ type Formatter interface {
|
||||
Format(f State, c int)
|
||||
}
|
||||
|
||||
// Stringer is implemented by any value that has a String method(),
|
||||
// Stringer is implemented by any value that has a String method,
|
||||
// which defines the ``native'' format for that value.
|
||||
// The String method is used to print values passed as an operand
|
||||
// to a %s or %v format or to an unformatted printer such as Print.
|
||||
@ -61,7 +61,7 @@ type Stringer interface {
|
||||
String() string
|
||||
}
|
||||
|
||||
// GoStringer is implemented by any value that has a GoString() method,
|
||||
// GoStringer is implemented by any value that has a GoString method,
|
||||
// which defines the Go syntax for that value.
|
||||
// The GoString method is used to print values passed as an operand
|
||||
// to a %#v format.
|
||||
|
Loading…
Reference in New Issue
Block a user