From: Rob Pike Date: Thu, 30 Jul 2009 23:57:46 +0000 (-0700) Subject: fix a long-standing typo X-Git-Tag: weekly.2009-11-06~1011 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=07a497fee0a407da15d1df30695cb97f608081ce;p=gostls13.git fix a long-standing typo R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=32540 CL=32545 --- diff --git a/src/pkg/fmt/print.go b/src/pkg/fmt/print.go index 04323f7fd4..bd55de6825 100644 --- a/src/pkg/fmt/print.go +++ b/src/pkg/fmt/print.go @@ -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 {