aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2011-07-18 11:44:27 +1000
committerRob Pike <r@golang.org>2011-07-18 11:44:27 +1000
commit08e47ebb7d01a8df9e67491f5ab1b191923a1aab (patch)
tree0b4df9c3f423cf479985c608145cbda9b4eee08d
parent50d90451ff9eb9fc74b52cbf02518164d57f93ed (diff)
downloadgo-08e47ebb7d01a8df9e67491f5ab1b191923a1aab.tar.gz
go-08e47ebb7d01a8df9e67491f5ab1b191923a1aab.zip
fmt: fix a couple of documentation glitches.
R=golang-dev, adg CC=golang-dev https://golang.org/cl/4758050
-rw-r--r--src/pkg/fmt/print.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/fmt/print.go b/src/pkg/fmt/print.go
index ba91bcd9f6..53c39f18da 100644
--- a/src/pkg/fmt/print.go
+++ b/src/pkg/fmt/print.go
@@ -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.