]> Cypherpunks repositories - gostls13.git/commitdiff
fmt: remove an obsolete reference to os.ErrorString in a comment
authorRob Pike <r@golang.org>
Wed, 12 Oct 2011 20:50:08 +0000 (13:50 -0700)
committerRob Pike <r@golang.org>
Wed, 12 Oct 2011 20:50:08 +0000 (13:50 -0700)
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5229057

src/pkg/fmt/print.go

index c993af6664f056225eb876b1c1c95a49d3491724..3c7f8088da12f2b3b278176f160847a478b85e69 100644 (file)
@@ -190,7 +190,7 @@ func Sprintf(format string, a ...interface{}) string {
 }
 
 // Errorf formats according to a format specifier and returns the string 
-// converted to an os.ErrorString, which satisfies the os.Error interface.
+// as a value that satisfies os.Error.
 func Errorf(format string, a ...interface{}) os.Error {
        return os.NewError(Sprintf(format, a...))
 }