]> Cypherpunks repositories - gostls13.git/commitdiff
fix a long-standing typo
authorRob Pike <r@golang.org>
Thu, 30 Jul 2009 23:57:46 +0000 (16:57 -0700)
committerRob Pike <r@golang.org>
Thu, 30 Jul 2009 23:57:46 +0000 (16:57 -0700)
R=rsc
DELTA=2  (0 added, 0 deleted, 2 changed)
OCL=32540
CL=32545

src/pkg/fmt/print.go

index 04323f7fd4e1cd2254532adb2bf17ab7d091c2de..bd55de682554635a55475ed103230db3a4ca180c 100644 (file)
@@ -64,7 +64,7 @@
                fmt.Printf("%v\n", i);
        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.
 
        If an operand implements method String() string that method
@@ -96,7 +96,7 @@ type State interface {
        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.
 // to generate its output.
 type Formatter interface {