Commit 07a497fe authored by Rob Pike's avatar Rob Pike

fix a long-standing typo

R=rsc
DELTA=2  (0 added, 0 deleted, 2 changed)
OCL=32540
CL=32545
parent ff3a73b4
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
fmt.Printf("%v\n", i); fmt.Printf("%v\n", i);
will print 23. will print 23.
If an operand implements interface Format, that interface If an operand implements interface Formatter, that interface
can be used for fine control of formatting. can be used for fine control of formatting.
If an operand implements method String() string that method If an operand implements method String() string that method
...@@ -96,7 +96,7 @@ type State interface { ...@@ -96,7 +96,7 @@ type State interface {
Flag(int) bool; Flag(int) bool;
} }
// Format is the interface implemented by objects with a custom formatter. // Formatter is the interface implemented by objects with a custom formatter.
// The implementation of Format may call Sprintf or Fprintf(f) etc. // The implementation of Format may call Sprintf or Fprintf(f) etc.
// to generate its output. // to generate its output.
type Formatter interface { type Formatter interface {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment