From aa2f439c6aa10c3e901afc41d895914cb91529ee Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Wed, 12 Oct 2011 13:50:08 -0700 Subject: [PATCH] fmt: remove an obsolete reference to os.ErrorString in a comment R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5229057 --- src/pkg/fmt/print.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/fmt/print.go b/src/pkg/fmt/print.go index c993af6664..3c7f8088da 100644 --- a/src/pkg/fmt/print.go +++ b/src/pkg/fmt/print.go @@ -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...)) } -- 2.50.0