1
0
mirror of https://github.com/golang/go synced 2024-11-22 06:14:39 -07:00

fmt: remove an obsolete reference to os.ErrorString in a comment

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5229057
This commit is contained in:
Rob Pike 2011-10-12 13:50:08 -07:00
parent 707e5acd71
commit aa2f439c6a

View 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...))
}